<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>I think we're getting closer to the problem. Somehow, nrpe is
looking in the wrong place for nrpe.cfg. Clearly it's not picking up that
option from your xinetd config file.</FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>What happens when you simply do:</FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2> /usr/sbin/nrpe</FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>This what I get:</FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>$ ./nrpe</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>NRPE - Nagios Remote Plugin Executor<BR>Copyright (c) 1999-2002 Ethan
Galstad (<A href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>Version:
1.5<BR>Last Modified: 06-03-2002<BR>License: GPL</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>Usage: ./nrpe <-i | -d> <config_file></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>Options:<BR> -i Run as a service
under inetd or xinetd<BR> -d Run as a
standalone daemon</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>Notes:<BR>This program is designed to process requests from the
check_nrpe<BR>plugin on the host(s) running Nagios. It can run as a
service<BR>under inetd or xinetd (read the docs for info on this), or as
a<BR>standalone daemon. Once a request is received from an authorized<BR>host,
NRPE will execute the command/plugin (as defined in the<BR>config file) and
return the plugin output and return code to the<BR>check_nrpe
plugin.<BR></FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>As you can see, I'm running version 1.5. I seem to recall a recent
thread which requires the newer version to use a -c switch or some such to
specify the config file. If that's the case, update your xinetd config
file, then pkill -12 xinetd, do another test, and see what syslog
says.</FONT></SPAN></DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522283423-16012003><FONT face="Comic Sans MS" color=#000080
size=2>jc</DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Justin
[mailto:justin@pvamu.edu]<BR><B>Sent:</B> Thursday, January 16, 2003 5:25
PM<BR><B>To:</B> Carroll, Jim P [Contractor]<BR><B>Subject:</B> Re:
[Nagios-users] nrpe<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Here is the syslog errors. Below is my
config</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jan 16 17:28:10 antispam nrpe[1029]: Unable to
open config file '//nrpe.cfg' for reading<BR>Jan 16 17:28:10 antispam
nrpe[1029]: Config file '//nrpe.cfg' contained errors, bailing
out...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>#############################################################################<BR>#
Sample NRPE Config File<BR># Written by: Ethan Galstad (<A
href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>#<BR># Last
Modified: 12-30-2002<BR>#<BR># NOTES:<BR># This is a sample configuration file
for the NRPE daemon. It needs to be<BR># located on the remote host that
is running the NRPE daemon, not the host<BR># from which the check_nrpe client
is being
executed.<BR>#############################################################################</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># PORT NUMBER<BR># Port number we should wait for
connections on.<BR># NOTE: This must be a non-priviledged port (i.e. >
1024).<BR># NOTE: This option is ignored if NRPE is running under either inetd
or xinetd</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>server_port=5666</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># SERVER ADDRESS<BR># Address that nrpe should
bind to in case there are more than one interface<BR># and you do not want
nrpe to bind on all interfaces.<BR># NOTE: This option is ignored if NRPE is
running under either inetd or xinetd</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#server_address=192.168.1.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ALLOWED HOST ADDRESSES<BR># This is a
comma-delimited list of IP address of hosts that are allowed<BR># to talk to
the NRPE daemon.<BR>#<BR># NOTE: The daemon only does rudimentary checking of
the client's IP<BR># address. I
would highly recommend adding entries in
your<BR># /etc/hosts.allow file to allow
only the specified host to connect<BR># to
the port you are running this daemon on.<BR>#<BR># NOTE: This option is
ignored if NRPE is running under either inetd or xinetd</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>allowed_hosts=129.207.59.33
127.0.0.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># NRPE USER<BR># This determines the effective
user that the NRPE daemon should run as.<BR># You can either supply a username
or a UID.<BR>#<BR># NOTE: This option is ignored if NRPE is running under
either inetd or xinetd</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>nrpe_user=nagios</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># NRPE GROUP</FONT></DIV>
<DIV><FONT face=Arial size=2># This determines the effective group that the
NRPE daemon should run as.<BR># You can either supply a group name or a
GID.<BR>#<BR># NOTE: This option is ignored if NRPE is running under either
inetd or xinetd</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>nrpe_group=nagios</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># DEBUGGING OPTION<BR># This option determines
whether or not debugging messages are logged to the<BR># syslog facility.<BR>#
Values: 0=debugging off, 1=debugging on</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>debug=1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># COMMAND TIMEOUT<BR># This specifies the maximum
number of seconds that the NRPE daemon will<BR># allow plugins to finish
executing before killing them off.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>command_timeout=60</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># COMMAND DEFINITIONS<BR># Command definitions
that this daemon will run. Definitions<BR># are in the following
format:<BR>#<BR># command[<command_name>]=<command_line><BR>#<BR>#
When the daemon receives a request to return the results of
<command_name><BR># it will execute the command specified by the
<command_line> argument.<BR>#<BR># Unlike Nagios, the command line
cannot contain macros - it must be<BR># typed exactly as it should be
executed.<BR>#<BR># Note: Any plugins that are used in the command lines must
reside<BR># on the machine that this daemon is running on! The examples
below<BR># assume that you have plugins installed in a
/usr/local/nagios/libexec<BR># directory. Also note that you will have
to modify the definitions below<BR># to match the argument format the plugins
expect. Remember, these are<BR># examples only!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c
10<BR>command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20<BR>command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c
10 -p /dev/hda1<BR>command[check_disk2]=/usr/local/nagios/libexec/check_disk
-w 20 -c 10 -p
/dev/hdb1<BR>command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs
-w 5 -c 10 -s
Z<BR>command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150
-c 200<BR>command[check_nrpe_status]=echo "OK - NRPE is
alive"<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks Jim</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Justin Wedeking</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jcarro10@sprintspectrum.com
href="mailto:jcarro10@sprintspectrum.com">Carroll, Jim P [Contractor]</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=justin@pvamu.edu
href="mailto:justin@pvamu.edu">'Justin'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">Nagios-Users (E-mail)</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 16, 2003 3:31
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users] nrpe</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=991093121-16012003><FONT face="Comic Sans MS" color=#000080
size=2>You might want to set "debug=1" in nrpe.cfg, retry some tests, then
take a look at your syslog output.</FONT></SPAN></DIV>
<DIV><SPAN class=991093121-16012003><FONT face="Comic Sans MS" color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=991093121-16012003><FONT face="Comic Sans MS" color=#000080
size=2>jc</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Justin [<A
href="mailto:justin@pvamu.edu">mailto:justin@pvamu.edu</A>]<BR><B>Sent:</B>
Thursday, January 16, 2003 3:29 PM<BR><B>To:</B> Carroll, Jim P
[Contractor]<BR><B>Subject:</B> Re: [Nagios-users]
nrpe<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I ran the command.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@antispam src]#
/usr/local/nagios/libexec/check_users -w 5 -c 10<BR>USERS WARNING - 6
users currently logged in</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@antispam src]# ./check_nrpe -H
127.0.0.1 -c check_nrpe_status<BR>CHECK_NRPE: Error receiving data from
host.<BR>[root@antispam src]# ./check_nrpe -H 127.0.0.1 -c
check_nrpe_status<BR>CHECK_NRPE: Error receiving data from
host.<BR>[root@antispam src]# ./check_nrpe -H 129.207.59.33 -c
check_nrpe_status<BR>CHECK_NRPE: Error receiving data from
host.<BR>[root@antispam src]# ./check_nrpe -H 129.207.59.33 -c
check_nrpe_status<BR>CHECK_NRPE: Error receiving data from
host.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I added it to the config and restart xinetd
and made sure it was running too. I made sure it was running
too</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@antispam src]# netstat -plant | grep
5666<BR>tcp
0 0
0.0.0.0:5666
0.0.0.0:*
LISTEN 6182/xinetd<BR>[root@antispam src]#
ps -aux | grep nrpe<BR>root 6297
0.0 0.4 3276 628 pts/0
S 15:33 0:00 grep nrpe<BR>[root@antispam
src]#<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the help Jim</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Justin Wedeking</FONT></DIV>
<DIV><FONT face=Arial size=2>Info Tech<BR></DIV></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jcarro10@sprintspectrum.com
href="mailto:jcarro10@sprintspectrum.com">Carroll, Jim P
[Contractor]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=justin@pvamu.edu
href="mailto:justin@pvamu.edu">'Justin'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">Nagios-Users
(E-mail)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 16, 2003
1:43 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users]
nrpe</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>And what happens when you login to the client which
is running NRPE, su to nagios, then run the following
manually:</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2> /usr/local/nagios/libexec/check_users -w 5
-c 10</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>While we're at it, add this to your
nrpe.cfg:</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2> command[check_nrpe_status]=echo "OK - NRPE
is alive"<BR></FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>then at the prompt, try this:</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2> ./check_nrpe -H 127.0.0.1 -c
check_nrpe_status</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>If you get "OK - NRPE is alive", then go to your
Nagios server and try:</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2> ./check_nrpe -H 129.207.59.33 -c
check_nrpe_status</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>and see how that goes. (I'm assuming that's
the correct IP address.)</FONT></SPAN></DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=428493819-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>jc</DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Justin
[mailto:justin@pvamu.edu]<BR><B>Sent:</B> Thursday, January 16, 2003
1:34 PM<BR><B>To:</B> Carroll, Jim P [Contractor]<BR><B>Subject:</B>
Re: [Nagios-users] nrpe<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Yes.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@antispam src]# telnet localhost
5666<BR>Trying 127.0.0.1...<BR>Connected to localhost.<BR>Escape
character is '^]'.<BR>Connection closed by foreign
host.<BR>[root@antispam src]#<BR></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jcarro10@sprintspectrum.com
href="mailto:jcarro10@sprintspectrum.com">Carroll, Jim P
[Contractor]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=justin@pvamu.edu
href="mailto:justin@pvamu.edu">'Justin'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">Nagios-Users
(E-mail)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 16,
2003 12:44 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users]
nrpe</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=075594318-16012003><FONT face="Comic Sans MS"
color=#000080 size=2>Can you telnet to port 5666 on your
client?</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
Justin [<A
href="mailto:justin@pvamu.edu">mailto:justin@pvamu.edu</A>]<BR><B>Sent:</B>
Thursday, January 16, 2003 11:46 AM<BR><B>To:</B> Carroll, Jim P
[Contractor]<BR><B>Subject:</B> Re: [Nagios-users]
nrpe<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>This is what my nrpe config looks
like.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>command[check_users]=/usr/local/nagios/libexec/check_users
-w 5 -c
10<BR>command[check_load]=/usr/local/nagios/libexec/check_load -w
15,10,5 -c
30,25,20<BR>command[check_disk1]=/usr/local/nagios/libexec/check_disk
-w 20 -c 10 -p
/dev/hda1<BR>command[check_disk2]=/usr/local/nagios/libexec/check_disk
-w 20 -c 10 -p
/dev/hdb1<BR>command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs
-w 5 -c 10 -s
Z<BR>command[check_total_procs]=/usr/local/nagios/libexec/check_procs
-w 150 -c 200<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my xinetd script
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> # default:
on<BR> # description:
NRPE<BR> service
nrpe<BR>
{<BR>
flags
=
REUSE<BR>
socket_type =
stream<BR>
wait
=
no<BR>
user
=
nagios<BR>
server =
/usr/sbin/nrpe<BR>
server_args = -i
/usr/local/nagios/etc/nrpe.cfg<BR>
log_on_failure +=
USERID<BR>
disable =
no<BR>
only_from = 129.207.59.31
129.207.59.33 127.0.0.1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is the error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@antispam src]# ./check_nrpe -H
129.207.59.33 -p 5666 -c check_users<BR>CHECK_NRPE: Error
receiving data from host.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for the help Jim</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Justin Wedeking</FONT></DIV>
<DIV><FONT face=Arial size=2>Info Tech<BR></DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message -----
</DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jcarro10@sprintspectrum.com
href="mailto:jcarro10@sprintspectrum.com">Carroll, Jim P
[Contractor]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=justin@pvamu.edu
href="mailto:justin@pvamu.edu">'Justin'</A> ; <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">Nagios
Users</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January
15, 2003 5:24 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users]
nrpe</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=036202423-15012003><FONT face="Comic Sans MS"
color=#000080 size=2>Do you have check_ping defined in the
nrpe.cfg file of the client host?</FONT></SPAN></DIV>
<DIV><SPAN class=036202423-15012003><FONT face="Comic Sans MS"
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=036202423-15012003><FONT face="Comic Sans MS"
color=#000080 size=2>jc</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
Justin [<A
href="mailto:justin@pvamu.edu">mailto:justin@pvamu.edu</A>]<BR><B>Sent:</B>
Wednesday, January 15, 2003 8:55 AM<BR><B>To:</B> Nagios
Users<BR><B>Subject:</B> [Nagios-users]
nrpe<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I check the recent messages to
make sure my question had not been answered. But what is
the common cause ofthis error? The nrpe dameon is
running on the remote host, and plugins are up to date
etc.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>snatch:/usr/local/nrpe-1.7/src#
./check_nrpe -H antispam.pvamu.edu -c
check_ping<BR>CHECK_NRPE: Error receiving data from
host.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Justin Wedeking</FONT></DIV>
<DIV><FONT face=Arial size=2>Info
Tech</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>