Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



byskandranon, August 24, 2009
2 of 2 people found this review helpful
For starters, the config given is very helpful (who the hell would know all those OIDs or dig through all the MIB files you can download?), but it can have unexpected results in case your switch model has more/other sensores than the ones used for reference here:

The commands given queries several sensors with fixed OIDs (hpicfSensorStatus.).
In most cases, the sensor index queried will actually represent the sensor wanted, but there is no guarantee for this.
Better to first query the list of sensor descriptions (hpicfSensorDescr, OID . e.g. by snmpwalk:
snmpwalk -c -v 2c enterprises.

. => description of first sensor, . => state of first sensor;
. => description of second sensor, . => state of second sensor;
and so on.
That way you can be sure yor HP device does not in fact have any other mapping.

Additionally, you might want to know the possible stated and their meanings:
1 => unknown,
2 => bad,
3 => warning
4 => good,
5 => notPresent