Hi!
You have to escape text properly before passing to command line, or enclose text in quotes. Try to define your command as
Btw, you don't need to put / twice - only the backslash (\).
Alternative approach could be to use NXSL script to escape special characters in event message with backslash.
Best regards,
Victor
You have to escape text properly before passing to command line, or enclose text in quotes. Try to define your command as
Code Select
/opt/CA/SharedComponents/ccs/bin/cawto -n waqnsm91 NETXMS - ALERT - %n - %a - '%m'
Btw, you don't need to put / twice - only the backslash (\).
Alternative approach could be to use NXSL script to escape special characters in event message with backslash.
Best regards,
Victor