Ad Widget

Collapse

Macro: parametes are not being processed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rokka
    Junior Member
    • Jun 2009
    • 15

    #1

    Macro: parametes are not being processed

    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
    Last edited by rokka; 16-06-2009, 14:39.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    1.4.2 is fairly old. if possible, i'd suggest trying with the latest version (1.6.5 as of now) - maybe that helps.
    Zabbix 3.0 Network Monitoring book

    Comment

    • rokka
      Junior Member
      • Jun 2009
      • 15

      #3
      Originally posted by richlv
      1.4.2 is fairly old. if possible, i'd suggest trying with the latest version (1.6.5 as of now) - maybe that helps.
      Oh, yes, I didn't notice.
      Ubuntu is shipped with outdated.

      I had to compile 1.6 now and testing it right know.

      Comment

      Working...