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

Daniel.Tardy at canson.fr Daniel.Tardy at canson.fr
Tue Mar 14 16:09:28 CET 2006


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&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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060314/3633ed5f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2214 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060314/3633ed5f/attachment.gif>


More information about the Users mailing list