Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread John Moore
C: nagios-users@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.

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Ciro Iriarte
2008/8/18 John Moore <[EMAIL PROTECTED]>: > Hey group, > I am running a SLES server (SuSE) with a copy of Nagios 2.6 installed and > working. > I want the check_ssh plug-in to report with a Warning when ssh is running, > and Green when ssh is off. > It would be really great if I could use NRPE and

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Marc Powell
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.9

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Marc Powell
On Aug 18, 2008, at 4:02 PM, Andy Shellam wrote: > Wouldn't negate cause an "OK" state to be a "Critical" state instead > of a "warning" or can this be configured? It can be configured in recent versions. -- Marc - This

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Seth Simmons
a warning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Sean McAfee
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] Options: -h, --help Pri

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Andy Shellam
Wouldn't negate cause an "OK" state to be a "Critical" state instead of a "warning" or can this be configured? Marc Powell wrote: > On Aug 18, 2008, at 3:22 PM, John Moore wrote: > >> I want the check_ssh plug-in to report with a Warning when ssh is >> running, and Green when ssh is off. >>

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Marc Powell
On Aug 18, 2008, at 3:22 PM, John Moore wrote: > > > I want the check_ssh plug-in to report with a Warning when ssh is > running, and Green when ssh is off. > It would be really great if I could use NRPE and perform this check > locally. > > Any suggestions? Use the negate plugin. -- Marc -