Check_SSH Plug-In

John Moore johnfm3 at hotmail.com
Tue Aug 19 00:53:58 CEST 2008


 ./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)
Ok, so should I configure this in my clients nrpe.cfg and have it ran as a local check?
Or just configure it to check from the nagios box?
 
Second, is this something thats installed thru the standard plug-ins?  If not, a link would be handy to locate the add-on.
 
Thanks,
John



> Date: Mon, 18 Aug 2008 17:15:15 -0400> From: ssimmons at cymfony.com> To: smcafee at collaborativefusion.com; andy.shellam-lists at mailnetwork.co.uk> CC: nagios-users at lists.sourceforge.net> Subject: Re: [Nagios-users] Check_SSH Plug-In> > 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.> > > -----Original Message-----> From: nagios-users-bounces at lists.sourceforge.net> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean> McAfee> Sent: Monday, August 18, 2008 5:11 PM> To: Andy Shellam> Cc: Nagios Users Mailinglist> Subject: Re: [Nagios-users] Check_SSH Plug-In> > Andy Shellam wrote:> > Wouldn't negate cause an "OK" state to be a "Critical" state instead> of > > a "warning" or can this be configured?> > Negate can customize its return code based on the return code of the > exec'ed plugin:> > Usage:negate [-t timeout] [-owcu STATE] [-s] <definition of wrapped> plugin>> > Options:> -h, --help> Print detailed help screen> -V, --version> Print version information> -t, --timeout=INTEGER> Seconds before connection times out (default: 11)> Keep timeout longer than the plugin timeout to retain CRITICAL> status.> -o, --ok=STATUS> -w, --warning=STATUS> -c, --critical=STATUS> -u, --unknown=STATUS> STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without> single> quotes. Numeric values are accepted. If nothing is specified,> permutes> OK and CRITICAL.> -s, --substitute> Substitute output text as well. Will only substitute text in> CAPITALS> > So in this case, you'd want to use `negate -w OK -o CRITICAL > //path/to/check_ssh -checkargs/`.> > Sean McAfee> System Engineer> > Collaborative Fusion, Inc.> smcafee at collaborativefusion.com> 412-422-3463 x 4025> > 5849 Forbes Avenue> Pittsburgh, PA 15217> > ****************************************************************> IMPORTANT: This message contains confidential information> and is intended only for the individual named. If the reader of> this message is not an intended recipient (or the individual> responsible for the delivery of this message to an intended> recipient), please be advised that any re-use, dissemination,> distribution or copying of this message is prohibited. Please> notify the sender immediately by e-mail if you have received> this e-mail by mistake and delete this e-mail from your system.> E-mail transmission cannot be guaranteed to be secure or> error-free as information could be intercepted, corrupted, lost,> destroyed, arrive late or incomplete, or contain viruses. The> sender therefore does not accept liability for any errors or> omissions in the contents of this message, which arise as a> result of e-mail transmission.> ****************************************************************> > > > ------------------------------------------------------------------------> -> 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> > -------------------------------------------------------------------------> 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
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger.  Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080818/e961e3af/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- next part --------------
_______________________________________________
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