Page 1 of 1

Change timeout result of check_by_ssh

Posted: Mon Apr 28, 2014 4:19 am
by Cooperson
hi,

i use the plugin check_by_ssh and sometimes the plugin timed out and the result is: CRITICAL - Plugin timed out after x seconds
I would like to change the result to "UNKNOWN - Plugin timed out after x seconds", if a timeout happens. In this case the parameter -t does not help.

best regards
Cooper

Re: Change timeout result of check_by_ssh

Posted: Mon Apr 28, 2014 11:35 am
by abrist
This request is on my radar. I am currently working on a universal solution that can be used across all c plugins.
You could use the negate plugin to do so, but the negate plugin will need a shorter timeout than the value used by check_by_ssh
See the following thread for more info:
http://support.nagios.com/forum/viewtop ... 35&t=26534