Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tatref opened this issue Sep 2, 2016 · 1 comment
Open

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

tatref opened this issue Sep 2, 2016 · 1 comment

Comments

@tatref
Copy link
Contributor

tatref commented Sep 2, 2016

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.

@ranl
Copy link
Owner

ranl commented Sep 3, 2016

👍 thanks @tatref

arigaud added a commit to arigaud/monitor-utils that referenced this issue Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants