General tcp_check question

Marc Powell marc at ena.com
Thu Feb 26 14:56:46 CET 2009


Please, please don't hijack other peoples threads for your own  
purposes. It's rude and confusing to future readers. Create a new post  
to the list when you have a new question. More below...


On Feb 26, 2009, at 7:34 AM, Kashif Mohammad wrote:

> But when I run
> sh-3.00$ /usr/lib/nagios/plugins/check_tcp -H "<site-2>" -t 60 -p 9002
> I get this output
> CRITICAL - Socket timeout after 60 seconds
>  I suspect that it is an firewall issue at that site so I wanted to  
> know that what is underlying command of tcp_check and how can I  
> allow or disallow tcp_check command to run on my system if I am the  
> system administrator on that system.

It's making a TCP connection to port 9002 and seeing if it gets a  
connection, nothing more. The firewall needs to permit that connection  
from the nagios host.

--
Marc


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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