Distributed Nagios Question

Marc Powell marc at ena.com
Tue Apr 19 18:09:10 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Rodney Caston
> Sent: Tuesday, April 19, 2005 10:09 AM
> To: Nagios Users List
> Subject: [Nagios-users] Distributed Nagios Question
> 
> We've setup the send_nsca, and the nscd (via xinetd) on the central
> server, /var/log/messages shows the nscd working via:
> 
> Apr 19 10:06:54 testbox xinetd[26398]: START: nsca pid=30296
> from=10.0.19.129
> 
> However, any connection made from the remote host to the central
server
> results in the following:
> 
> # ./submit_check_result crapbox001 HTTP DOWN TEST
> Error: Server closed connection before init packet was received
> Error: Could not read init packet from server
> 
> There is no 'only from allowed hosts', and the password/encryption
type
> is set correctly on both ends.  Also - there is a HTTP service
> definition defined on the central and remote hosts.

You must specify the hosts that are allowed to connect in nsca.cfg. You
can't just leave allowed_hosts blank if that's what you're saying you've
done. You should also try enabling debug in nsca.cfg if you do have the
correct ip specified in allowed_hosts. There will probably be some
useful information there. Finally, make sure that you don't have any TCP
wrapper restrictions with xinetd (hosts.deny, hosts.allow). Judging from
the log line above this is probably ok.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list