Hello ALL. I am hoping you guys know the answer to this.
I crated a rule that passes the alert to the script and executes it and the script does some data manipulation.
The issue i am having is i need to pass the value to the script in quotes.
This is the example of the trap
ipcMxAlarmIdentifier=IPC TEST ALARM
They way i am calling the script is Execute script.bat
What the script does is parsing the variable but it expects the variable in quote to know when it ends. Is there a way to send it in quotes?
I don't know if you'll see this after 4 years, but here is what I found.
To include the entire trap as a message you need to use this format:
I hope this helps somebody.