Check_nrpe - Connection refused

Jason Martin jhmartin at toger.us
Fri Jul 23 19:14:00 CEST 2004


On Fri, Jul 23, 2004 at 09:33:03AM -0700, Brian Andrus wrote:
> I can run: "check_nrpe -H rh3 -c check_disk1" from the command line as the
Nagios is using the address field from the host definition, not necessairly the string 'rh3'. 
What is the value of address in your host definition?

-Jason Martin

> 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> 
>  

-- 
If you believe in telekinesis, raise my hand.
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040723/135cc090/attachment.sig>


More information about the Users mailing list