Bugfix in check_equallogic when volume does not exist

Written by - 0 comments

Published on - Listed in Nagios Icinga Monitoring Hardware


As reported in issue #11 on the github repository of check_equallogic, there was a problem when a volume didn't exist. Instead of showing a message indicating that the given volume does not exists, the plugin returned with an error:

awk: line 1: syntax error at or near end of line
/usr/lib/nagios/plugins/check_snmp_dell_equallogic.sh: line 848: / 1024: syntax error: operand expected (error token is "/ 1024")
UNKNOWN: should never reach this part```

The bugfix release 20151006 of check_equallogic fixes this bug. Thanks to Stephane Loeuillet for the report and the fix suggestion. Please download the newest version from here: http://www.claudiokuenzler.com/nagios-plugins/check_equallogic.php. 

Important note: To actually hit the now fixed bug, a human error was mandatory. Because it only affects the "vol" check which requires the name of a volume as an argument. If the given volume does not exist, then the bug was hit.


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