NSCA Connection problem

Chris Hemsley chris.hemsley at gmail.com
Sun Jul 18 10:02:00 CEST 2004


I have installed Nagios on SuSE Linux Enterprise Server 8. Nagios
Version 1.2, NSCA v2.1. Nagios is running fine but I've failed to get
the NSCA passive checking working.

To troubleshoot, I've started the nsca daemon manually with debug enabled:
# nsca -c /etc/nagios/nsca.cfg -d

I then try to send a passive check to it using:
# printf "myserver\tname\t1\tTest Message\n"  | send_nsca 127.0.0.1  -c /tmp/ch

( where /tmp/ch specified encryption_method=1 and nsca.cfg specified
decryption_method=1.)

Jul 18 07:19:44 adm201 nsca[1810]: Connection from 172.16.2.200 port 19102
Jul 18 07:19:44 adm201 nsca[1810]: Host address checks out ok
Jul 18 07:19:44 adm201 nsca[1810]: Handling the connection...
Jul 18 07:19:45 adm201 nsca[1810]: Received invalid packet
type/version from client -
possibly due to client using wrong password or crypto algorithm?
Jul 18 07:19:45 adm201 nsca[1810]: End of connection or could not read
request from cl
ient...

If I disable encryption, I get the same errors but without the
'invalid packet type error'.

Can anyone shed some light on where things may be going wrong here as
I've been unable to find any reference to anyone else having this
problem.

Thanks in advance for any assistance.

Chris.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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