can anyone let me know if i’ve left anything out or done anything wrong here with my NSCA and SEND_NSCA setup?
i am running under inetd:
i added the following to /etc/services:
nsca 5667/tcp #NSCA
nsca stream tcp nowait nagios /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nagios.cfg --inetd
restart: inet restart
in the NSCA.CFG file i added the client’s IP address i will be using to the allowed host addresses.
on the client machine i am using the send_nsca win32 port. i run the client program as follows:
send_nsca -H -c send_nsca.cfg
i run this just to see if i can get a connection and i get the following:
error: server closed connection before init packet was received
error: could not read init packet from server
now i’ve been digging around, and i am pretty sure there is some setting configuation file i missed somewhere. do i need to actually define the service checks for the client to connect? i have not actually created any service/host checks for the passive checks yet. i’m just trying to get it to get a connection and do the bare minimums to accomplish this.
i am pretty sure i’m having problems because of some setting/config file.
any insight would be appreciated!