check_sensors - alternatives?

John Hearns john.hearns at clustervision.com
Thu Dec 4 14:14:29 CET 2003


Please forgive a second question,
this one hopefully more interesting.

I'm working on using lm_sensors on compute nodes,
to raise alarms when CPUs overtemp or fans fail.

The sample check_sensors plugin is rather simple -
it simply checks for the string ALARM in the output of lm_sensors.

Can anyone point me towards other lm_sensors plugins?
Yes, I know I should work on my own - bu deadlines loom and a head start
on customising something else would be good.

Forgive me if I'm misunderstanding things,
but features which would be nice would be:

*) an alarm message relating to the problem, eg. FAN1 Fail

*) maybe output of the temps/fan speeds for later processing in APAN 
(that's next on the list - get APAN working. Hints/tips welcome!)

*) more sophisticated filtering on alarms.
   For example, looking at the lm_sensors output below there is a
   Chassis Intrusion alarm, which I don't want to trigger an alarm state

Thanks!

sensors output:

w83627hf-i2c-0-2d
Adapter: SMBus I801 adapter at 1100
Algorithm: Non-I2C SMBus adapter
VCore 1:   +1.48 V  (min =  +4.08 V, max =  +4.08 V)
VCore 2:   +3.34 V  (min =  +4.08 V, max =  +4.08 V)
+3.3V:     +3.32 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +4.99 V  (min =  +4.50 V, max =  +5.48 V)
+12V:     +11.89 V  (min = +10.79 V, max = +13.11 V)
-12V:     -11.41 V  (min = -13.21 V, max = -10.90 V)
-5V:       -2.00 V  (min =  -5.51 V, max =  -4.51 V)
V5SB:      +5.51 V  (min =  +4.50 V, max =  +5.48 V)       ALARM
VBat:      +3.24 V  (min =  +2.70 V, max =  +3.29 V)
fan1:     4753 RPM  (min = 3000 RPM, div = 2)
fan2:     4720 RPM  (min = 3000 RPM, div = 2)
fan3:        0 RPM  (min =  750 RPM, div = 8)
temp1:       +35�C  (limit =  +60�C)                       sensor = 
thermistor
temp2:     +29.0�C  (limit =  +60�C, hysteresis =  +50�C) sensor = 
thermistor
temp3:     +29.0�C  (limit =  +60�C, hysteresis =  +50�C) sensor = 
thermistor
vid:      +1.400 V
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm disabled





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list