<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Nope, they match.<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Feb 23, 2006, at 12:20 PM, Toto Capuccino wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">my 2 cents: check that the IP of the host in hosts.cfg is the good one.<BR><BR><DIV><SPAN class="gmail_quote">2006/2/23, Tom Healy <<A href="mailto:thealy@nortom.com">thealy@nortom.com</A>>:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I can't seem to get nrpe to work correctly, the web interface reports<BR>connection refused, but if I run it via the command line it gets<BR>results. Example below:<BR><BR><BR>On remote solaris 9 box:<BR># ./nrpe -n -c nrpe.cfg -d<BR><BR># ps -ef|grep nrp<BR> nagios 1125 1 0 11:51:51 ? 0:00 ./nrpe -n -c nrpe.cfg -d<BR><BR># ./check_nrpe -n -H <A href="http://127.0.0.1">127.0.0.1</A> -c check_users<BR>USERS OK - 26 users currently logged in |users=26;75;100;0 <BR><BR><BR>On nagios server (solaris 9) as user nagios:<BR>-------------------------------<BR># ./check_nrpe -n -H <A href="http://xxx.foobar.com">xxx.foobar.com</A> -c check_users<BR>USERS OK - 26 users currently logged in |users=26;75;100;0 <BR><BR><BR>On same nagios server, but the web interface:<BR>---------------------------------------------<BR>check_users.process CRITICAL 02-23-2006 11:52:31 0d 0h 59m<BR>1s 3/3 Connection refused by host<BR> <BR><BR><BR>Config entry for this host:<BR>---------------------------<BR><BR>define service{<BR> host_name <A href="http://xxx.foobar.com">xxx.foobar.com</A><BR> service_description check_users.process <BR> check_command check_nrpe!check_users<BR> max_check_attempts 3<BR> normal_check_interval 5<BR> retry_check_interval 1<BR> check_period 24x7<BR> notification_interval 5 <BR> notification_period 24x7<BR> notification_options c,r<BR> contact_groups healy<BR>}<BR><BR><BR>Check commands entry for the server:<BR>-------------------------------------<BR># Check NRPE Daemon <BR>define command{<BR> command_name check_nrpe<BR> command_line /usr/local/nagios/libexec/check_nrpe -H<BR>$HOSTADDRESS$ -c $ARG1$<BR> }<BR><BR><BR>nrpe 2.4 compiled from source, both boxes solaris 9. Running nagios <BR>Nagios 2.0b4 (upgrading soon). Is this a bug in the 2.0b4 branch or<BR>am I just being dense & missing something obvious?<BR><BR>-Tom<BR><BR></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>