I am trying to integrate NetXMS with CA Unicenter in order to generate automated tickets.
For this I am using a utility from CA called "cawto". With this utility I can send an event to the CA NSM server with the alert message as generated by NetXMS. Based on the received event, CA NSM then creates ticket in CA Unicenter. I am using below command as an Action in NetXMS to send the events to NSM.
//opt//CA//SharedComponents//ccs//bin//cawto -n waqnsm91 NETXMS - ALERT - %n - %a - %m
Where waqnsm91 is my CA NSM server.
Condition 1:This works perfectly and I can see an event in CA NSM when the contents of message variable %m is in plane text or without any special characters like below,
%m = Node down.
Condition 2: But the command execution fails if the contents of message variable %m is having some characters like " or () or / .
Ex.
%m = Interface "Ethernet100/1/47 (Temp Laptop Connections)" changed state to DOWN (IP Addr: 0.0.0.0/0.0.0.0, IfIndex: 526584704)
In this case, since the message contains the IfName and IfAlias it comes with a slash / and the bracket () which causes the execution to fail.
To verify this I am executing a parallel action as below,
echo HOST - %n - %a - %m >> //home//vishalb//netxms.log
Please help me to get this fixed if anyone also faced this issue.
Thanks in Advance.
Vishal Babrekar