monitor-utils
monitor-utils copied to clipboard
check-netapp-ng.pl: timeout not handled properly
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.
👍 thanks @tatref