<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'> ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_<FONT face="">ssh</FONT> -H db4<BR> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)<BR> <BR> ./check_<FONT face="">ssh</FONT> -H db4<BR> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)<BR><BR>
Ok, so should I configure this in my clients nrpe.cfg and have it ran as a local check?<BR>
Or just configure it to check from the nagios box?<BR><BR>
<BR>
Second, is this something thats installed thru the standard plug-ins? If not, a link would be handy to locate the add-on.<BR>
<BR>
Thanks,<BR>
John<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Mon, 18 Aug 2008 17:15:15 -0400<BR>> From: ssimmons@cymfony.com<BR>> To: smcafee@collaborativefusion.com; andy.shellam-lists@mailnetwork.co.uk<BR>> CC: nagios-users@lists.sourceforge.net<BR>> Subject: Re: [Nagios-users] Check_<FONT face="">SSH</FONT> Plug-In<BR>> <BR>> That's what I assumed also...unless I'm missing something here...<BR>> <BR>> ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_<FONT face="">ssh</FONT> -H db4<BR>> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)<BR>> <BR>> ./check_<FONT face="">ssh</FONT> -H db4<BR>> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)<BR>> <BR>> <BR>> I would have expected negate to return a warning.<BR>> <BR>> <BR>> -----Original Message-----<BR>> From: nagios-users-bounces@lists.sourceforge.net<BR>> [mailto:nagios-users-bounces@lists.sourceforge.net] On Behalf Of Sean<BR>> McAfee<BR>> Sent: Monday, August 18, 2008 5:11 PM<BR>> To: Andy Shellam<BR>> Cc: Nagios Users Mailinglist<BR>> Subject: Re: [Nagios-users] Check_<FONT face="">SSH</FONT> Plug-In<BR>> <BR>> Andy Shellam wrote:<BR>> > Wouldn't negate cause an "OK" state to be a "Critical" state instead<BR>> of <BR>> > a "warning" or can this be configured?<BR>> <BR>> Negate can customize its return code based on the return code of the <BR>> exec'ed plugin:<BR>> <BR>> Usage:negate [-t timeout] [-owcu STATE] [-s] <definition of wrapped<BR>> plugin><BR>> <BR>> Options:<BR>> -h, --help<BR>> Print detailed help screen<BR>> -V, --version<BR>> Print version information<BR>> -t, --timeout=INTEGER<BR>> Seconds before connection times out (default: 11)<BR>> Keep timeout longer than the plugin timeout to retain CRITICAL<BR>> status.<BR>> -o, --ok=STATUS<BR>> -w, --warning=STATUS<BR>> -c, --critical=STATUS<BR>> -u, --unknown=STATUS<BR>> STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without<BR>> single<BR>> quotes. Numeric values are accepted. If nothing is specified,<BR>> permutes<BR>> OK and CRITICAL.<BR>> -s, --substitute<BR>> Substitute output text as well. Will only substitute text in<BR>> CAPITALS<BR>> <BR>> So in this case, you'd want to use `negate -w OK -o CRITICAL <BR>> //path/to/check_<FONT face="">ssh</FONT> -checkargs/`.<BR>> <BR>> Sean McAfee<BR>> System Engineer<BR>> <BR>> Collaborative Fusion, Inc.<BR>> smcafee@collaborativefusion.com<BR>> 412-422-3463 x 4025<BR>> <BR>> 5849 Forbes Avenue<BR>> Pittsburgh, PA 15217<BR>> <BR>> ****************************************************************<BR>> IMPORTANT: This message contains confidential information<BR>> and is intended only for the individual named. If the reader of<BR>> this message is not an intended recipient (or the individual<BR>> responsible for the delivery of this message to an intended<BR>> recipient), please be advised that any re-use, dissemination,<BR>> distribution or copying of this message is prohibited. Please<BR>> notify the sender immediately by e-mail if you have received<BR>> this e-mail by mistake and delete this e-mail from your system.<BR>> E-mail transmission cannot be guaranteed to be secure or<BR>> error-free as information could be intercepted, corrupted, lost,<BR>> destroyed, arrive late or incomplete, or contain viruses. The<BR>> sender therefore does not accept liability for any errors or<BR>> omissions in the contents of this message, which arise as a<BR>> result of e-mail transmission.<BR>> ****************************************************************<BR>> <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> -<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's<BR>> challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great<BR>> prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the<BR>> world<BR>> http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios-users@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please include Nagios version, plugin version (-v) and OS when<BR>> reporting any issue. <BR>> ::: Messages without supporting info will risk being sent to /dev/null<BR>> <BR>> -------------------------------------------------------------------------<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios-users@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>> ::: Messages without supporting info will risk being sent to /dev/null<BR><BR><br /><hr />Talk to your Yahoo! Friends via Windows Live Messenger. <a href='http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008' target='_new'>Find Out How</a></body>
</html>