Thank you for the bit of code that's being triggered.
Now I get the fun task of figuring out what's breaking so I can get folks to fix their stuff.
Cheers, -Chris
On 2/22/13 2:52 PM, Adam Armstrong wrote:
It pings the host and tries an snmp get. If both succeed the host is up, if not it is down.
If you frequently get devices going up and down, it means your network infrastructure is broken and is dropping enough packets to make the device look down.
$device['pingable'] = isPingable($device['hostname']); if ($device['pingable']) { $device['snmpable'] = isSNMPable($device); if ($device['snmpable']) { $status = "1"; } else { echo("SNMP Unreachable"); $status = "0"; } } else { echo("Unpingable"); $status = "0"; }
adam.
On Fri, 22 Feb 2013 15:31:45 -0500, Chris Moody chris@node-nine.com wrote:
Can someone help me understand the algorithm/conditions that will cause a device to be flagged up/down in Observium?
Reason I ask is I'm seeing instances where devices will get flagged as 'down' however when I login to the Observium host and manually test via fping/snmpwalk, I get valid responses back. The devices come back a few minutes later.
I don't see anything in observium.log aside from poller completion results, so I could use some more info/ideas to help debug why these devices keep going offline intermittently.
Cheers, -Chris _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium