Action is not taken (executed)?

Started by mrkolle, October 14, 2014, 03:07:46 PM

Previous topic - Next topic

mrkolle

Hello,
I have trouble getting actions to work.
I cannot find any log why my action is not executed.

My goal simple - I need to execute a script on management server (send SMS) whenever a node goes down.




     

Victor Kirhenshtein

Hi,

try to set debug level to at least 4 (add DebugLevel = 4 to netxmsd.conf) and check server's log. If you have logging set to event log, I suggest to change it to file first.

Best regards,
Victor

mrkolle

Quote from: Victor Kirhenshtein on October 14, 2014, 03:27:01 PMtry to set debug level to at least 4 (add DebugLevel = 4 to netxmsd.conf) and check server's log.
Thanks, I can see clearly that script was executed but actually it was not because I had a typo in command line.
I think return value (of cmd.exe /c) in log file would be a help.