On 2011-07-05 11:07, Monz Roswitha wrote:

Hello,

 

I’ve one problem. icinga gets the message “connection refused by host”  from some hosts (RHEL ad HP-UX) . Executing nrpe-check from the command line of the icinga server works fine and can be seen on the remote server in /var/log/secure

 

CPU-Auslastung

Active checks of the
                                            service have been disabled -
                                            only passive checks are
                                            being accepted

CRITICAL

07-05-2011 10:30:34

13d 18h 2m 50s

1/1

Connection refused by host 


 

That’s how nrpe is configured on our server:

 

/etc/xinet.d/nrpe:

================

 

# default: on

# description: NRPE (Nagios Remote Plugin Executor)

service nrpe

{

      flags           = REUSE

      socket_type     = stream   

       port         = 5666   

       wait            = no

      user            = icinga

group        = icinga

       server          = /usr/local/icinga/bin/nrpe

       server_args     = -c /usr/local/icinga/etc/nrpe.cfg --inetd

       log_on_failure  += USERID

       disable         = no

       only_from       = *our icinga-server*

}

 

command-line check_nrpe to a server, which is not “working properly”

 

icinga ~ # /usr/local/icinga/libexec/check_nrpe -c check_users -H remotehost

USERS OK - 1 users currently logged in |users=1;5;10;0

icinga ~ #


run that command as icinga user, not as root. maybe a permissions problem?

 

remotehost ~ # tail -f /var/log/secure

Jul  5 11:04:06 u1ru183 xinetd[8660]: START: nrpe pid=8673 from=* icinga *

remotehost ~ #

 

There is no firewall active and there are no errors or something else in the /var/log/messages.

Does somebody know these issue?

 

Thanks for help.

 

Kind regards,

 

Roswitha Monz

 

------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ icinga-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     [email protected]
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359 
fax:	   +43 1 4277 14338
web:       http://www.univie.ac.at/zid
           http://www.aco.net

Icinga Core & IDOUtils Developer
http://www.icinga.org

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to