Bugfix in check_equallogic and new Nagios plugin: check_storcenter

Written by - 1 comments

Published on - Listed in Nagios Hardware Monitoring

There has been a small bug in the Nagios plugin check_equallogic when using a single volume check. Matt White discovered that, if two volume names have almost the same name, the 'grep' to identify the wanted volume does not work because the grep command wasn't looking for an exact match.

Let's say you have two volumes: vol1 and vol1test. The single volume check for vol1 would fail because vol1 appears twice. Today's released version (20111013) contains a bugfix for that scenario. Thanks Matt.


Then I'd also like to announce another new Nagios plugin: check_storcenter. This plugin can be used to monitor an EMC/Iomega StorCenter NAS. Some checks are released (the most important one 'disk') but I also wanted to create checks for fans, temperature etc. Unfortunately the snmp values returned by the device all show '0'... So the current available checks are the possible ones.

Add a comment

Show form to leave a comment

Comments (newest first)

Francois from Paris wrote on Oct 28th, 2011:

Some correction for ethif

And some change with the warning and critical (for ethUp instead of ethDown):
contr0ethup=$(snmpwalk -v 2c -O v -c ${community} ${host} | egrep -c \"(up|1)\")
contr1ethup=$(snmpwalk -v 2c -O v -c ${community} ${host} | egrep -c \"(up|1)\")
contr0ethdown=$(snmpwalk -v 2c -O v -c ${community} ${host} | egrep -c \"(down|2)\")
contr1ethdown=$(snmpwalk -v 2c -O v -c ${community} ${host} | egrep -c \"(down|2)\")

if [ -n \"${warning}\" ] || [ -n \"${critical}\" ]
if [ ${ethup} -le ${warning} ] && [ ${ethup} -gt ${critical} ]
then echo \"INTERFACES WARNING Only ${ethup} interfaces up\"; exit ${STATE_WARNING}