On 18/07/2013 at 13:36 +0200, Alexander Wirt wrote:

> No, the output never gets interpreted. Just the return code. Illegal
> arguments lead to a return code of 3 on my testsystem:
> # /usr/lib/nagios/plugins/check_ssh sdfsd
>  Usage:
>  check_ssh [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host>
> # echo $?                                             :(
> 3
> 
> which should get intereted as "UNKNOWN" [1]

You’re absolutely right, my mistake. Nagios reports service status as
UNKNOWN, not as WARNING.

But, that UNKNOWN state is wrong anyway.

Could you please retitle the bug?

Thanks!

-- 
Kiko


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to