Problems with two plugins timing out

narendran.neelamegam at wipro.com narendran.neelamegam at wipro.com
Tue Jan 29 20:25:25 CET 2008


Does the system in ? have multiple NIC? Are you sure SSH and SMTP are
listening on the IP address which you have specified in your command.
Can you do a telnet test on these ports?
Can you disable iptables and test
telnet <ip address> 25
telnet <ip address> 22
 
________________________________

From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] 
Sent: Wednesday, January 30, 2008 12:29 AM
To: Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES
(GS))
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Problems with two plugins timing out
 u  


> Since the command is failing locally on the client in question, this
may not be iptable issue.

 

> Do you have these plugins in the correct location?

 

The location of the plugins is the same as the others:
/usr/local/npre/libexec

 

> Do they have required nagios user ownership.

 

The ownership of the plugins, along with the others is as follows:

-rwxr-xr-x 1 nagios nagios  62638 2007-11-28 11:40 check_ssh

-rwxr-xr-x 1 nagios nagios 334907 2007-11-28 11:40 check_http

 

> Have you enabled debugging options in nrpe to check?

 

I did have debugging turned on via the nrpe.cfg file on the client.
However, even after I tried

manually running the plugins in question, there was no record of the
plugins recorded in

the /var/log/messages file on the client, or in a similar file on the
server. 

 

> Please post the command which you are running locally and from Nagios
server?

The commands that I tried are listed below: 

 

-bash-3.2$ ./check_ssh -H <ip address>

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H <hostname>

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H <hostname> -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H <ip address> -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H <hostname>

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H <ip address>

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H <ip address> -p 25

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H <hostname> -p 25

CRITICAL - Socket timeout after 10 seconds

 

 

The information transmitted in this electronic communication is intended
only
for the person or entity to whom it is addressed and may contain
confidential
and/or privileged material. Any review, retransmission, dissemination or
other
use of or taking of any action in reliance upon this information by
persons or
entities other than the intended recipient is prohibited. If you
received this
information in error, please contact the Compliance HelpLine at
800-856-1983 and
properly dispose of this information.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080130/4d947b0b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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