Check_SSH Plug-In

Marc Powell marc at ena.com
Mon Aug 18 23:40:42 CEST 2008


On Aug 18, 2008, at 4:15 PM, Seth Simmons wrote:

> That's what I assumed also...unless I'm missing something here...
>
> ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4
> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)
>
> ./check_ssh -H db4
> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)
>
>
> I would have expected negate to return a warning.

How do you know it didn't? (i.e. echo $?). If you're wanting to change  
the for-humans-only text of the plugin output, use the -s parameter.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list