Page 2 of 2

Re: External command error: Malformed command

Posted: Wed Jan 31, 2018 2:15 am
by paolo974
Core version: Nagios Core 4.0.8

I think the problem is not related to Nagios but to the machine, even if I not able to know what is the root cause.

As the problem is solved by using the following code for event handler script, we can consider that as solved

Code: Select all

#!/bin/sh
/bin/echo "[$(date +%s)] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" >> /app/monitor/MASTER1/var/rw/nagios.cmd
# end of code
Thanks a lot for your help and support

Re: External command error: Malformed command

Posted: Wed Jan 31, 2018 10:57 am
by dwhitfield
Any other questions before we lock this up?

Re: External command error: Malformed command

Posted: Thu Feb 01, 2018 1:19 am
by paolo974
No, and thanks again for your help :)