Hi,
I created 2 dependents items key "test.status" and "test.status.url" based on a master item "test".
I created a trigger on the item "test.status".
When the trigger is in the PROBLEM state, I want to send a mail which include the last value of the item "test.url", I tried multiple things but without being able to reach what I want.
For example in the action trigger I have set the custom mail to something like :
{myhost:test.status.url.last()} => this works
now I want to have something dynamic and set
{{HOST.HOST}:{ITEM.KEY}.url.last()} => this is not working
How can I get the last value of my item using macros ?
Thanks a lot for the help
I created 2 dependents items key "test.status" and "test.status.url" based on a master item "test".
I created a trigger on the item "test.status".
When the trigger is in the PROBLEM state, I want to send a mail which include the last value of the item "test.url", I tried multiple things but without being able to reach what I want.
For example in the action trigger I have set the custom mail to something like :
{myhost:test.status.url.last()} => this works
now I want to have something dynamic and set
{{HOST.HOST}:{ITEM.KEY}.url.last()} => this is not working
How can I get the last value of my item using macros ?
Thanks a lot for the help
Comment