Macro doesn't work for me in notifications.
Graphs are ok, triggers are ok and history is collected. But actions don't work properly with MACRO. I tried couple of items - a standard one (free space on /var) and my own (messages in postfix queue).
Most macro just remains unchanged values in the alert mail.
I tried to put in notification all macros from the guide - almost everything is coming unchanged.
Everything from host profile are processed though. But I can't get even current date and time (although time itself is ok)!
These ave item that are ok, 3-4 of them from the whole list:
192.168.2.86IP address of first item of the
17:17:17 Current time in hh:mm.ss.
vfs.fs.size[/var,used]
Key of first item of the trigger which caused a notification.
That what I would like to see:
{ITEM.VALUE} The latest value of Nth item of the trigger expression if used for
{EVENT.DATE} event date
#uname -a
Linux zabbix 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux
root@zabbix:~# cat /etc/issue
Ubuntu 8.04.2 \n \l
root@zabbix:~# zabbix_server -V
ZABBIX Server (daemon) v1.4.2 (20 August 2007)
Compilation time: Apr 7 2008 06:48:52
Graphs are ok, triggers are ok and history is collected. But actions don't work properly with MACRO. I tried couple of items - a standard one (free space on /var) and my own (messages in postfix queue).
Most macro just remains unchanged values in the alert mail.
I tried to put in notification all macros from the guide - almost everything is coming unchanged.
Everything from host profile are processed though. But I can't get even current date and time (although time itself is ok)!
These ave item that are ok, 3-4 of them from the whole list:
192.168.2.86IP address of first item of the
17:17:17 Current time in hh:mm.ss.
vfs.fs.size[/var,used]
Key of first item of the trigger which caused a notification.
That what I would like to see:
{ITEM.VALUE} The latest value of Nth item of the trigger expression if used for
{EVENT.DATE} event date
#uname -a
Linux zabbix 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux
root@zabbix:~# cat /etc/issue
Ubuntu 8.04.2 \n \l
root@zabbix:~# zabbix_server -V
ZABBIX Server (daemon) v1.4.2 (20 August 2007)
Compilation time: Apr 7 2008 06:48:52
Comment