NSCA not working?


#1

I have installed and configured NSCA plugin accourding to official documentation (nagios.sourceforge.net/download/ … _Setup.pdf).
And when I start nsca I don’t see not open ports on 5667 using netstat or nmap. nsca.cfg is properly configured (i think)

If I “telnet localhost 5667” I get a bunch of wird characters displayed…
telnet localhost 5667
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
W×^‡u–—-#bÜ4Ťt9ұ_}.“żŠÓp&ĆĹĺóęć
˘ÍĘ, :RgęhAöÇČl]`šĂv–÷
1¬ţŮŮź+dbýƒĘ>y’ćđg€q*"űT
ŔSă™óöÄú )\JgtVT102^L
^]
telnet>

If I do /usr/local/nagios/libexec/send_nsca -H localhost -c /usr/local/nagios/etc/send_nsca.cfg < /root/test
0 data packet(s) sent to host successfully.

Thanks in advance.