Build precise queries to find exactly what you need
Press ESC to close
@rogerrb
Favorites0
Views
Projects0
We got a new IBM x3550 M4 Server, and this server has a temperature sensor named “Mezz Card Temp” that always give 0 as the temperature. This sensors looks like it is for an optional Mezzanine card that is not installed in this server. To avoid this server to always report warning on temparature, I had to modify the script to report OK on sensors that have a Fatal temparature level of 0. My modified temparature check looks like this: if test "$tempFatal" -eq "0"; then STATUS=0 elif test "$tempTemp" -ge "$tempCritical"; then STATUS=2 elif test "$tempTemp" -ge "$tempNoncritical"; then STATUS=1 fi
Reviewed 12 years ago