Hello guys,
So I am currently using Zabbix to monitor a few devices, and under Host>Macros I have created a few macros and gave them values. Now in Action I have created an Action that sends me email based on the triggers, however I am unable to get the value from the Macro to show in the Body of the email. I tried ITEM.VALUE and ITEM.LASTVALUE, both of them show me the exact same information. Here is an example:
The problem started at {EVENT.TIME} on {EVENT.DATE}
Problem name: {TRIGGER.NAME}
Expected = {ITEM.VALUE} Current = {ITEM.LASTVALUE}
Host: {HOST.NAME}
How when I receive an email I see for Expected and Current the same value for example 2(which are the actual devices connected), however in the Macro the value is 3. In this case the Expected should show 3 and current should show 2. Unfortunately I am not able to make it work. I was thinking of using ITEM.LASTVALUE2, however it shows UNKNOWN, probably because the actual devices count connected never exceeded 2.
Thank you!
So I am currently using Zabbix to monitor a few devices, and under Host>Macros I have created a few macros and gave them values. Now in Action I have created an Action that sends me email based on the triggers, however I am unable to get the value from the Macro to show in the Body of the email. I tried ITEM.VALUE and ITEM.LASTVALUE, both of them show me the exact same information. Here is an example:
The problem started at {EVENT.TIME} on {EVENT.DATE}
Problem name: {TRIGGER.NAME}
Expected = {ITEM.VALUE} Current = {ITEM.LASTVALUE}
Host: {HOST.NAME}
How when I receive an email I see for Expected and Current the same value for example 2(which are the actual devices connected), however in the Macro the value is 3. In this case the Expected should show 3 and current should show 2. Unfortunately I am not able to make it work. I was thinking of using ITEM.LASTVALUE2, however it shows UNKNOWN, probably because the actual devices count connected never exceeded 2.
Thank you!