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} 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}


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