[Pkg-nagios-devel] Bug#717229: Bug#717229: Bug#717229: Bug#717229: nagios-plugins-basic: check_ssh returns warning state incorrectly
formorer at debian.org
Thu Jul 18 11:52:55 UTC 2013
Kiko Piris schrieb am Thursday, den 18. July 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" 
> You’re absolutely right, my mistake. Nagios reports service status as
> UNKNOWN, not as WARNING.
> But, that UNKNOWN state is wrong anyway.
imho UNKNOWN is correct here. The options submitted to the plugin are wrong
and the plugin therefore says its state is unknown.
Alexander Wirt, formorer at formorer.de
CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A
More information about the Pkg-nagios-devel