I'm using Nagios Core 4.3.4 and am attempting to set up NSCA as per this document:
http://nagios.sourceforge.net/download/ ... _Setup.pdf
The issue I get is when I try to run the command /usr/local/nagios/bin/send_nsca name of localhost -c /usr/local/nagios/etc/send_nsca.cfg < /tmp/tmp, I get the following output in the log file:
Code: Select all
SERVICE CHECK -> Host Name: '[name of localhost]', Service Description: 'TestMessage', Return Code: '0', Output: 'This is a test message.'
Attempting to write to nagios command pipe
End of connection...
EXIT: nsca status=0 pid=15201 duration=1(sec)
EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;
Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;
External command error: Command failed
External command error: Malformed command
Code: Select all
[name of localhost] TestMessage 0 This is a test message.
Thank you very much!