can you show the configuration in the icinga files ?

there might be a parameters in the command definition or service 
definition that is causing this issue.

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 
> <http://u1ru185.lksdom21.lks.local/icinga/cgi-bin/extinfo.cgi?type=2&host=u1ru183.lksdom21.lks.local&service=CPU-Auslastung>
>
>       
>
> Active checks of the service have been disabled - only passive checks 
> are being accepted 
> <http://u1ru185.lksdom21.lks.local/icinga/cgi-bin/extinfo.cgi?type=2&host=u1ru183.lksdom21.lks.local&service=CPU-Auslastung>
>
>       
>
> 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 ~ #
>
> 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

Reply via email to