Check a telnet on a particular port and launch the dependent procedure

Marc Powell marc at ena.com
Tue Mar 14 16:32:06 CET 2006


Daniel --

Please don't CC: nagios-users-admin at . That's an administrative e-mail address, not for general posts. 

Please provide your service and command definitions for this check and exactly how you are testing it from the command line and the results. >From the error, the port you are testing isn't listening or isn't the port you think you're testing.

--
Marc

> -----Original Message-----
> From: Daniel.Tardy at canson.fr [mailto:Daniel.Tardy at canson.fr]
> Sent: Tuesday, March 14, 2006 9:09 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net; nagios-users-
> admin at lists.sourceforge.net
> Subject: RE: [Nagios-users] Check a telnet on a particular port and launch
> the dependent procedure
> 
> 
> Hi everybody
> 
> With Nagios, I've tried the two manners =>
> But these two manners gave me a message => Connection Refused.
> But when I run the command manually all is OK.
> I've tried many manners and always this issue:  maually = ok Nagios = bad.
> Do you have any idea ?
> Many thanks in advance,
> Cordialement,
> 
> Daniel TARDY
> 
> Tel 33 (0) 4 75 69 88 10
> Fax 33 (0) 4 75 69 02 00
> Daniel.Tardy at canson.fr
> http://www.canson.fr
> http://www.arjowiggins.com
> 
> 
> 
> "Marc Powell" <marc at ena.com>
> Envoyé par : nagios-users-admin at lists.sourceforge.net
> 
> 11/03/2006 00:03 A
> <nagios-users at lists.sourceforge.net>
> cc
> Objet
> RE: [Nagios-users] Check a telnet on a particular port and launch the
> dependent procedure
> 
> 
> 
> 
> 
> 
> Or check_tcp may be more than sufficient. The OP doesn't explain enough
> about what he's wanting to do to be sure.
> 
> Daniel - Run 'check_tcp --help' and see if that suits your needs.
> 
> --
> Marc
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of Eli Stair
> > Sent: Friday, March 10, 2006 2:12 PM
> > To: Daniel.Tardy at canson.fr
> > Cc: nagios-users at lists.sourceforge.net; nagios-users-
> > admin at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Check a telnet on a particular port and
> launch
> > the dependent procedure
> >
> >
> > Check google and/or nagiosplug.sourceforge.net, you'll find at least
> > plugins to let you check the SSH banner (if that's all you want to do)
> > and run commands/send output back to the plugin (check_ssh |
> > check_by_ssh).  That's assuming you meant ssh and not telnet, if you
> > need telnet I've hacked up a simple Net::Telnet script to do the same
> > things as the ssh plugs.  Likely you'll want check_ssh however.
> >
> > /eli
> >
> > Daniel.Tardy at canson.fr wrote:
> > >
> > > Good morning everybody,
> > >         I need to do a telnet 10.21211212 22  and check the result.
> > > I'm a new user of Nagios and I don't know to tell Nagios to do this
> > > telnet  and then I don't know how to know the result and send a
> message
> > > or a command depending on this result.
> > > Il someone has the know how, tanks a lot to help me.
> > > Best regards,
> > > Daniel TARDY



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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