Is there any way to expand all macros in {TRIGGER.EXPRESSION} to send to external script?
For example, I have a trigger for item which key is external-script:
host.foo.local:my_ext_script[{HOST.IP},param1,param2].last()}#{$MY_USER_MACRO}
It would be perfect to send only {TRIGGER.EXPRESSION} to repair-script to let it know WHAT and WHERE was broken and CORRECT value to be set..
PS:
I cannot find neither related documentation, nor feature-requests for similar, but {TRIGGER.NAME} and {TRIGGER.NAME.ORIG}, {ITEM.KEY.ORIG<1-9>} and {ITEM.KEY.ORIG<1-9>} and other are makes me feel uncertainty..
For example, I have a trigger for item which key is external-script:
host.foo.local:my_ext_script[{HOST.IP},param1,param2].last()}#{$MY_USER_MACRO}
It would be perfect to send only {TRIGGER.EXPRESSION} to repair-script to let it know WHAT and WHERE was broken and CORRECT value to be set..
PS:
I cannot find neither related documentation, nor feature-requests for similar, but {TRIGGER.NAME} and {TRIGGER.NAME.ORIG}, {ITEM.KEY.ORIG<1-9>} and {ITEM.KEY.ORIG<1-9>} and other are makes me feel uncertainty..
Comment