Check_nrpe - Connection refused

Brian Andrus sysop at millenia.com
Fri Jul 23 18:33:03 CEST 2004


I am having a devil of a time with the check_nrpe command.
I have nagios running on system rh1. I have nrpe running on system rh3
I am trying to run the check_disk1 command on rh3.
I can run: "check_nrpe -H rh3 -c check_disk1" from the command line as the
nagios user from rh1 successfully.
When I try running it from nagios, it tells me "Connection refused by host"
in the log files.
There is no record of any attempt at connection on the remote system (which
has debug logging enabled).
 
My services.cfg:
--------------------------------
# disk1 Free Space
define service{
        use                             generic-service         ; Name of
service template to use
        host_name                       rh3
        service_description             disk1 Free Space
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  linux-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                  check_nrpe!check_disk1
        }
---------------------------------
 
My commands.cfg:
---------------------------------
# 'check_nrpe' command definition
define command{
        command_name    check_nrpe
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
        }
--------------------------------
 
 
Any ideas out there?
 
 
 
All The Best,
 
Brian Andrus, president
Millenia Internet Services, Inc.
(310) 260-1514
http://www.millenia.com <blocked::http://www.millenia.com> 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040723/5e6796da/attachment.html>


More information about the Users mailing list