-
Change Request
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
All
For custom alert scripts that are integrated with other pieces (in our case a ticket tracker) it would be nice if macro values could be correctly escaped. For example we have a operation message like this which should be valid JSON:
{"desc": "{TRIGGER.DESCRIPTION}",
"id": "{EVENT.ID}",
"triggerid": "{TRIGGER.ID}",
"hostname": "{HOST.NAME}"}
However if there should be any quotes in TRIGGER.DESCRIPTION it will not be valid JSON - so it would be nice to have a possibility to have a kind of escaped macro expansion here.