Passive checks with NSCA
Marc Powell
marc at ena.com
Thu Dec 4 19:37:39 CET 2003
> -----Original Message-----
> From: Colin A. White [mailto:colin at trematon.com]
> Sent: Thursday, December 04, 2003 12:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Passive checks with NSCA
>
> Thanks for this check.
>
> It seems my object file definitions pass the preflight check and
nagios
> starts up happily...
>
> However, when I try run from the debian device :
> > send_nsca -H nagios.host.com -c send_nsca.cfg
>
> I get :
>
> > Error: Server closed connection before init packet was received
> > Error: Could not read init packet from server
>
> I've had my firewall admin open tcp-5667 to the nagios host. Should
> this have been udp-5667 ??
> Any suggestions on how to pursue this cryptic error msg?
It's TCP. Is there anything in /var/log/* on the server running the NSCA
daemon? Did you remember to add the IP of the host sending the checks to
allowed_hosts in nsca.cfg (and restart NSCA if necessary). Consider
turning on debugging in nsca.cfg also. I presume that you're using the
same password and encryption/decryption method on both machines.
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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