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" [1] > > 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.
Alex -- Alexander Wirt, [email protected] CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

