Daniel -- Please don't CC: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 14, 2006 9:09 AM > To: Marc Powell > Cc: nagios-users@lists.sourceforge.net; nagios-users- > [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > http://www.canson.fr > http://www.arjowiggins.com > > > > "Marc Powell" <[EMAIL PROTECTED]> > Envoyé par : [EMAIL PROTECTED] > > 11/03/2006 00:03 A > <nagios-users@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: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Eli Stair > > Sent: Friday, March 10, 2006 2:12 PM > > To: [EMAIL PROTECTED] > > Cc: nagios-users@lists.sourceforge.net; nagios-users- > > [EMAIL PROTECTED] > > 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 > > > > [EMAIL PROTECTED] 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@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