Join GitHub today
observium - unable to add device manually via web, Could not ping <hostname> #488
[edit by Jeremy] This issue won't be fixed in the TurnKey appliance as upstream note that it is a security risk (see comment below). It is better if user's make the informed decision themselves rather than us assume users are willing to take that risk.
However, we definitely should document it better!
Devices can be added manually via CLI, can be discovered, however devices cannot be added manually.
fping, snmpwalk to device works. Device can be auto-discovered as well.
Devices -> Add Device
Enter hostname and SNMP string
Error returned is:
Perhaps issue where www-data cannot execute fping?
Was just about to implement this fix however I found on the Observium docs it advises against using the web interface to add devices anyway. Please see http://www.observium.org/docs/add_device/
This issue should stay here but be tagged "wont fix" as it is still useful for people who wish to use the online "add device".
after typing this
But when I snmpwalk to that ip it works and gives snmp data
what is the wrong that I've done in adding device in to observium.The same problem shows in adding web console.That gives this error message
@hub229ox - apologies on ridiculously late response...
But it is documented!?! So it works exactly as documented!
Perhaps you could provide some constructive insight into what might have worked better for you?! I won't guarantee that we'll do it, but it'd be good to have your constructive insights into a possible solution. At least one that might have worked for you...
TBH, I've pretty much run out of ideas on how to better broadcast this. As noted above, it's documented here (in this issue), in the Observium build code readme, on the Observium appliance page (which also has links to issues, which end up back here), as well as in a couple of places on our forums. And that's not to mention the upstream Observium docs themselves (albeit a bit buried), as well as some discussion on their mailing list.
So what might have worked better for you? I appreciate the critique, but a constructive suggestion would be even better!