I use these macroses in the Action message:
Last value: {{HOSTNAME}:{TRIGGER.KEY}.last(0)}
Prev value: {{HOSTNAME}:{TRIGGER.KEY}.prev(0)}
And when action fired and I receive email from zabbix, received message contains latest and previous values, but in unsigned integer format
Obliviously, I can't get correct message with float and negative float values.
For example, Latest value = -65.5500 and Previous value = 2.5500 (I can see they at history.php page).
But in email I receive Last value: 16777216 T and Prev value: 2.
About item:
Type: Zabbix agent
Key: check.balance (custom UserParameter)
Type of information: Numeric (float)
Units: USD
All other fields have default values
About server:
ZABBIX Server (daemon) v1.6.1 (04 November 2008)
Last value: {{HOSTNAME}:{TRIGGER.KEY}.last(0)}
Prev value: {{HOSTNAME}:{TRIGGER.KEY}.prev(0)}
And when action fired and I receive email from zabbix, received message contains latest and previous values, but in unsigned integer format
Obliviously, I can't get correct message with float and negative float values.
For example, Latest value = -65.5500 and Previous value = 2.5500 (I can see they at history.php page).
But in email I receive Last value: 16777216 T and Prev value: 2.
About item:
Type: Zabbix agent
Key: check.balance (custom UserParameter)
Type of information: Numeric (float)
Units: USD
All other fields have default values
About server:
ZABBIX Server (daemon) v1.6.1 (04 November 2008)