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

Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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!
Helpful? Yes  No 
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";
Helpful? Yes  No 
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
Helpful? Yes  No 
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
;;
Helpful? Yes  No 
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!
1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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.
Owner's Reply:

Thanks for the comment. Posix requires grep -F. I suppose Solaris has an fgrep which does the same thing but that is not in Posix so it is (in theory) less portable. I guess Solaris users will just have to suffer until Oracle fix it. :)


1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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
1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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,604