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 Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Improved disk check on check_equallogic Nagios plugin
Monday - Jul 25th 2011 - by - (0 comments)

Already a long time ago I've received interesting patches from Amir Shakoor for the Nagios plugin check_equallogic. Unfortunately my Equallogic has been down for several months now, so I was kind of stuck with the plugin and without a possibility to test modifications. Until today! Equallogic is up again in a new data centre and I can continue my work.

The new version 20110725, which is my birthday (yayy!), contains a rewritten disk check which still uses the same logic but instead of making 8 snmp requests, all informations are fetched in one request. This improves the performance of this check by factor 6.

/pub/nagios/libexec # time ./check_equallogic -H my.equallogic.ip -C public -t disk
DISK OK 15 disks OK 1 disks spare
real    0m0.085s
user    0m0.052s
sys     0m0.004s

/pub/nagios/libexec # time ./check_equallogic -H my.equallogic.ip -C public -t diskold
DISK OK 15 disks OK 1 disks spare

real    0m0.585s
user    0m0.344s
sys     0m0.048s

The old disk check is still available by using 'diskold' as check type (-t).

Some minor bugfixes were added afterwards for this new check so it runs on all systems.


Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers