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

Eli Stair estair at ilm.com
Fri Mar 10 21:12:15 CET 2006


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





More information about the Users mailing list