IBM

check_snmp_ibm_imm.sh

Description:

This plugin checks sensors (temperature, fans and voltages) and overall health of IBM servers using the Integrated Management Module (IMM).

Current Version

0.0.2

Last Release Date

2010-08-24

Compatible With

  • Nagios 3.x

Project Files
Project Notes
This plugin checks sensors (temperature, fans and voltages) and overall health of IBM servers using the Integrated Management Module (IMM). Examples: check_snmp_ibm_imm.sh -H 1.2.3.4 -C community -T health Health status: Normal| check_snmp_ibm_imm.sh -H 1.2.3.4 -C community -T temperature Ambient Temp = 18 |Temperature1=18;;;; check_snmp_ibm_imm.sh -H 1.2.3.4 -C community -T voltage Planar 3.3V = 3270 Planar 5V = 4860 Planar 12V = 11990 Planar VBAT = 3050 |Voltage1=3270;;;; Voltage2=4860;;;; Voltage3=11990;;;; Voltage4=3050;;;; check_snmp_ibm_imm.sh -H 1.2.3.4 -C community -T fans Fan 1A Tach = 26% Fan 1B Tach = 19% Fan 2A Tach = 29% Fan 2B Tach = 18% Fan 3A Tach = 30% Fan 3B Tach = 21% Fan 4A Tach = 31% Fan 4B Tach = 21% Fan 5A Tach = 30% Fan 5B Tach = 21% Fan 6A Tach = 30% Fan 6B Tach = 21% |Fan1=26%;;;; Fan2=19%;;;; Fan3=29%;;;; Fan4=18%;;;; Fan5=30%;;;; Fan6=21%;;;; Fan7=31%;;;; Fan8=21%;;;; Fan9=30%;;;; Fan10=21%;;;; Fan11=30%;;;; Fan12=21%;;;;
Reviews (7) Add a Review
Nice! There is a better updated alternative now.
by farid, October 31, 2017

Nice plugin with a few flaws. I made the modifications suggested by other comments here and a few other small changes. I named the "new" plugin check_snmp_ibm_imm-ng, which can also be found here on exchange.nagios.org. Thank you ulric!



Works well on x3550 M4
by johnj_123, April 30, 2015

CPU temp critical reading in MIB is 0. Added this check to avoid false critical on CPU temp. if test "$tempCritical" -gt 0 -a "$tempTemp" -ge "$tempCritical";



Suggestion for enhancement
by rogerrb, January 31, 2014

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



Return value for non-critical errors
by damn-86, January 31, 2014

Excellent plugin! I was wondering about the return value for non-critical errors. (critical/red) But it wasn't a problem to change this value to "1" (warning/yellow). This makes more sense to me. Line 103: 4 ) RESULT="Health status: non-critical error" STATUS=1 ;;



Tested on x3250m3 and x3650m3
by Lethe, August 31, 2011

Thanks for the excellent plugin that saved me quite some work, I've tested it on our Nagios deployment to monitor our lab equipment composed of 3250,3650 and 3850 it works like a charm!



Minor changes for Solaris
by pdp11, January 31, 2011

This plugin works well for x3620 M3 servers. As with many plugins, the assumption is that Nagios runs on Linux. When running this plugin on Solaris, the instances of "grep -F" need to be changed to use /usr/xpg4/bin/grep, instead of the default grep in /usr/bin.



works on x3250m3
by alfred, September 30, 2010

hi, works on x3250 M3 for me - could only test "health" with putting out an HDD. temperatures etc are alle shown correctly thank you very much alfred



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.6 (10)
Favorites
2
Views
118,635