Hi everyone...this is a follow-up to a post I made a few weeks ago regarding macros in media types...
I was working on a webhook media type, but getting everything I want to accomplished in javascript is proving problematic. So I decided to switch to a script media type; however, the macros don't resolve the same way the do with the webhook media type.
Specifically, none of my system or host macros resolve. I have confirmed (by creating Zabbix log entries) that everything worked as a webhook; however, sending the command line arguments to a file to review in the script shows the name of the macro, not the value.
Is it normal for the different media types to behave this way?
Thanks,
Scott
I was working on a webhook media type, but getting everything I want to accomplished in javascript is proving problematic. So I decided to switch to a script media type; however, the macros don't resolve the same way the do with the webhook media type.
Specifically, none of my system or host macros resolve. I have confirmed (by creating Zabbix log entries) that everything worked as a webhook; however, sending the command line arguments to a file to review in the script shows the name of the macro, not the value.
Is it normal for the different media types to behave this way?
Thanks,
Scott
Comment