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

Marc Powell marc at ena.com
Sat Mar 11 00:03:35 CET 2006


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&kid=110944&bid=241720&dat=121642
> _______________________________________________
> 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 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