New version 20101026 of check_equallogic

Written by - 0 comments

Published on - Listed in Nagios Hardware Monitoring


There's a new version of check_equallogic available. Today's release contain the following changes:

Return to /bin/bash
I started to program the plugin using /bin/bash and then (mistakenly) decided to change it to /bin/sh, having seen that most systems are anyway symlinking /bin/sh to /bin/bash. Big mistake. For example Ubuntu makes a symlink to /bin/dash which causes to fail the plugin. I got a lot of comments from Ubuntu users, having had problems like:

./check_equallogic: ${ethnames[...}: Bad substitution

Bugfix in snmpwalk usage
In some distributions and in some versions it is necessary to use the snmpwalk with the Output params -vqe instead of -vq. Personally I haven't had problems with that, but Fabio Panigatti made some nice tests for me:

~# snmpwalk -c XX -v 2c -O vqe IP 1.3.6.1.4.1.12740.2.1.5.1.1
1
~# snmpwalk -c XX -v 2c -O vq IP 1.3.6.1.4.1.12740.2.1.5.1.1
normal

As you can see, the difference is enormous: vq returned a string instead of an integer which breaks the plugin checks.

As always, thanks for any feedback.


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   


Update cookies preferences