[Pkg-nagios-devel] Bug#717229: Bug#717229: Bug#717229: nagios-plugins-basic: check_ssh returns warning state incorrectly

Kiko Piris menorqui at pirispons.net
Thu Jul 18 11:45:13 UTC 2013


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



More information about the Pkg-nagios-devel mailing list