Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Nagios/Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Bugfix in check_equallogic and new Nagios plugin: check_storcenter
Thursday - Oct 13th 2011 - by - (1 comments)

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} 1.3.6.1.2.1.2.2.1.7 | egrep -c \"(up|1)\")
contr1ethup=$(snmpwalk -v 2c -O v -c ${community} ${host} 1.3.6.1.2.1.2.2.1.8 | egrep -c \"(up|1)\")
contr0ethdown=$(snmpwalk -v 2c -O v -c ${community} ${host} 1.3.6.1.2.1.2.2.1.7 | egrep -c \"(down|2)\")
contr1ethdown=$(snmpwalk -v 2c -O v -c ${community} ${host} 1.3.6.1.2.1.2.2.1.8 | egrep -c \"(down|2)\")

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


Go to Homepage home
Linux Howtos how to's
Nagios Plugins nagios plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

8525 Days
until Death of Computers
Why?