NSCA error: No data in logs, recorded


#1

Good day,

I just installed NSCA. I tried to test it with commands below and seems like it cant carry the actual data/mesg.

out puts::

test file:

>cat test 

localhost    test   abc

File sent:

> ./src/send_nsca  localhost -c  sample-config/send_nsca.cfg  < test 
0 data packet(s) sent to host successfully.

Results from /var/log/message::

Jul 16 14:20:09 XXXXXXX nsca[20897]: Handling the connection...
Jul 16 14:20:09 XXXXXXX nsca[20897]: End of connection...

Configurations:

>grep -v '#' /usr/local/nagios/etc/nsca.cfg  | grep "^\w"
pid_file=/var/run/nsca.pid
server_port=5667
nsca_user=nagios
nsca_group=nagios
debug=1
command_file=/usr/local/nagios/var/rw/nagios.cmd
alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump
aggregate_writes=0
append_to_file=0
max_packet_age=30
decryption_method=1
grep -v '#' sample-config/send_nsca.cfg   | grep "^\w"
encryption_method=1

Please help.

PS