<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>I am having a devil
of a time with the check_nrpe command.</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>I have nagios
running on system rh1. I have nrpe running on system rh3</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>I am trying to run
the check_disk1 command on rh3.</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>I can run:
"check_nrpe -H rh3 -c check_disk1" from the command line as the nagios user from
rh1 successfully.</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>When I try running
it from nagios, it tells me "Connection refused by host" in the log
files.</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>There is no record
of any attempt at connection on the remote system (which has debug logging
enabled).</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>My
services.cfg:</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2><SPAN
class=230151716-23072004><FONT face=Arial
size=2>--------------------------------</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2><SPAN
class=230151716-23072004></SPAN></FONT></SPAN><SPAN
class=230151716-23072004><FONT face=Arial size=2># disk1 Free Space<BR>define
service{<BR>
use
generic-service ; Name of
service template to use<BR>
host_name
rh3<BR>
service_description
disk1 Free Space<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
3<BR>
normal_check_interval
5<BR>
retry_check_interval
1<BR>
contact_groups
linux-admins<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
check_command
check_nrpe!check_disk1<BR>
}</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2>---------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>My
commands.cfg:</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2>---------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2># 'check_nrpe'
command definition<BR>define
command{<BR>
command_name
check_nrpe<BR>
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c
$ARG1$<BR> }</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2>--------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial size=2>Any ideas out
there?</FONT></SPAN></DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=230151716-23072004>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>All The Best,</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV><SPAN class=817051318-30062004><FONT face=Arial size=2>Brian Andrus,
president</FONT></SPAN></DIV>
<DIV><SPAN class=817051318-30062004><FONT face=Arial size=2>Millenia Internet
Services, Inc.</FONT></SPAN></DIV>
<DIV><SPAN class=817051318-30062004><FONT face=Arial size=2>(310)
260-1514</FONT></SPAN></DIV>
<DIV><SPAN class=817051318-30062004><FONT face=Arial size=2><A
href="blocked::http://www.millenia.com">http://www.millenia.com</A></FONT></SPAN></DIV></FONT></DIV></SPAN></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>