General tcp_check question

Kashif Mohammad Kashif.Mohammad at cern.ch
Thu Feb 26 16:12:21 CET 2009


Thanks a lot, and extremely sorry for this, it was just plain sloppiness from my site.
Regards
Kashif

________________________________

From: Marc Powell [mailto:marc at ena.com]
Sent: Thu 2/26/2009 2:56 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] General tcp_check question



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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090226/d75dc2b3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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