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
ipcMxAlarmNumber=22
ipcMxAlarmIdentifier=IPC TEST ALARM
ipcMxAlarmSeverity=minor(1)
ipcMxAlarmStatus=reported(2)
They way i am calling the script is Execute script.bat
C:\Scripts\AlertScript\Script.bat ${MESSAGE}
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?