monitor-utils icon indicating copy to clipboard operation
monitor-utils copied to clipboard

check-netapp-ng.pl: timeout not handled properly

Open tatref opened this issue 9 years ago • 1 comments

If the check timeouts, no useful message is provided, and also the exit code is not correct:

[root@nagios hardware]# ./check-netapp-ng.pl -H 192.168.0.10 -C public -T UPTIME
Alarm clock
[root@nagios hardware]# echo $?
142

The check should return 2 (critical), and provide an input like "no reponse from XXXX"

I'll try to fix this.

tatref avatar Sep 02 '16 16:09 tatref

👍 thanks @tatref

ranl avatar Sep 03 '16 19:09 ranl