<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
if that is the nrpe on the remote machine then check_disk won't work
cos you've defined check_disk1 and check_disk2 in your nrpe config.<br>
<br>
also, isn't the allowed_hosts option unsupported now?<br>
<br>
isn't the proper way to do that to tcpwrap it in xinetd? (which is what
I do)<br>
<br>
<br>
what problem are you having specifically. tell us what you are typing
and what result you are getting...<br>
<br>
-h<br>
<br>
<pre class="moz-signature" cols="72">Hari Sekhon
</pre>
<br>
<br>
Paul Roberts wrote:
<blockquote cite="mid001001c77788$fb597530$280a000a@7digital.local"
type="cite">
<pre wrap="">Hi,
Thanks for looking.
Hope this helps.
Here is my inetd.conf file entry:
nrpe stream tcp nowait nagios /usr/sbin/tcpd
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd
server_port=5666
allowed_hosts=x.x.x.x
nrpe_user=nagios
nrpe_group=nagios
dont_blame_nrpe=0
debug=0
command_timeout=60
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/data
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10
-s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
200
command[check_ping]=/usr/local/nagios/libexec/check_ping -H localhost -w
100.0,20% -c 500.0,60%
command[check_samba]=/usr/local/nagios/libexec/check_procs -C nmbd
-----Original Message-----
From: Hari Sekhon [<a class="moz-txt-link-freetext" href="mailto:hpsekhon@googlemail.com">mailto:hpsekhon@googlemail.com</a>]
Sent: 05 April 2007 14:41
To: Paul Roberts
Cc: Nagios Users mailinglist
Subject: Re: [Nagios-users] Socket timeout issue
post your nrpe config
is your nrpe tcpwrapped? run as daemon or from inetd/xinetd?
-h
Hari Sekhon
Paul Roberts wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi All,
Can someone help out with my CHECK_NRPE: Socket timeout after 10
seconds issue.
I have Nagios running on a Debian server, runs tests to Windows Boxes OK.
I am attempting to do remote checks of an Debian server.
I can telnet on port 5666 to the remote server, netstat -l reports:
tcp 0 0 *:nrpe *:* LISTEN
I can run this check on the remote server:
# /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30
check_disk # NRPE v2.0
What information/configurations files do you need from me?
Regards
Paul Roberts.
----------------------------------------------------------------------
--- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys-and earn
cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV</a>
DEV _______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when
</pre>
</blockquote>
<pre wrap=""><!---->reporting any issue.
</pre>
<blockquote type="cite">
<pre wrap="">::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>