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

Bugfix in check_equallogic when volume does not exist
Tuesday - Oct 6th 2015 - by - (0 comments)

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.

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