Hi Folks,<br> <br> I am having trouble with my Nagios server talking to<br> the client through NRPE. The error is ...<br> <br> user is root:<br> [root@XXXXXXXXXXXXX libexec]# ./check_nrpe -H dev -c check_disk1<br> Connection refused by host<br> <br> user is nagios:<br> [root@XXXXXXXXXXXXX libexec]# su nagios<br> [nagios@XXXXXXXXXXXXX libexec]$ ./check_nrpe -H dev -c check_disk1<br> Connection refused by host<br> <br> Also, I *cannot telnet* into the client as root or nagios.<br> It just bumps me out with "Connection refused"<br> We are using ssh for logins.<br> <br> I believe I have the nrpe.cfg on the client configged OK<br> and the nagios.cfg on the server too.<br> <br> The command definitions look OK in client's nrpe.cfg (standard install)<br> The services.cfg on the server (for check_users) looks like this:<br> #############################################################################<br> <br> define service{<br>
use generic-service<br> host_name Nagios.servername.com<br> service_description USERS<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 slc-admins<br> notification_interval 120<br> notifications_enabled 1<br>
notification_period 24x7<br> notification_options w,c<br> check_command check_nrpe!5666!check_users<br> }<br> <br> ##########################################<br> 1)<br> What kind of network connectivity is required between the<br> Nagios client and server?<br> <br> 2)<br> In the Nagios client nrpe.cfg file:<br> Should the server_address= be the IP address of the Nagios server?<br> Not sure if the process needs to bind to it's own IP or the Nagios host.<br> <br> 3) Does the hosts.equiv need to be set up on the server/client?<br> What about ~nagios/.rhosts?<br> <br> I have been searching over
the docs to find answers to this stuff.<br> <br> Thanks, Joe McCaughan<br> <br> <br> <p>
<hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>