Tuesday, October 27, 2009

More on SuperoDoctor

With 'snmpwalk -v1 -c public localhost .1.3.6.1.4.1.10876', I get a ginormous list of the SuperoDoctor stuff. Documenting here from the MIB and from "hacking":

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.2.x == Textual description of x

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.3.x == Sensor type of x
- 0 = Fan
- 1 = Voltage
- 2 = Temperature
- 3 = boolean sensor (IE: open/close)

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.4.x == Sensor value of x (RPMs, mV, degC)

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.5.x == acceptable upper limit of x in RPM or mV (only for sensor types 1 and 2)

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.6.x == acceptable lower limit of x in RPM, mV, or degC

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.7,x == Maximum value of sensor serving x

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.8.x == Minimum value of sensor serving x

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.9.x == "Indicates the value for the Divisor for the Fan device that are currently in use on the managed device." - sensor type 0 only

SNMPv2-SMI::enterprises.10876.2.1.1.1.1.10.x == Monitoring status


For example:
# Name of device
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.2.4 = STRING: "Fan4/CPU1 Fan Speed"

#Device type (fan)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.3.4 = INTEGER: 0

# Current reading (5037 RPMs)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.4.4 = INTEGER: 5037

# There is no maximum upper limit on this... hence, no "SNMPv2-SMI::enterprises.10876.2.1.1.1.1.5.4"

# Lowest acceptable reading (712 RPMs)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.6.4 = INTEGER: 712

# Maximum possible reading of this sensor (1,350,000 RPMs)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.7.4 = INTEGER: 1350000

# Minimum possible reading for this sensor (329 RPMs)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.8.4 = INTEGER: 329

# Divisor
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.9.4 = INTEGER: 1

# Monitoring status (monitor=true)
SNMPv2-SMI::enterprises.10876.2.1.1.1.1.10.4 = INTEGER: 1

So, if I have a monitoring/notification system (such as Nagios), I may call the reading "Fan4/CPU1 Fan Speed" with a warn limit of less than 712 (IE: if fan falls below 712RPMs, send warning alert) and critical alert at 0 (IE: if fan stops, blow the klaxons).

That is all.

No comments:

Post a Comment