Improved disk check on check_equallogic Nagios plugin

Written by - 0 comments

Published on - Listed in Nagios Hardware Monitoring


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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder