Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-3009

If use host macros, i receive mails with result *UNKNOWN*

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.5
    • 1.8.4
    • None
    • None
    • 8.1-RELEASE FreeBSD 8.1-RELEASE Zabbix Server v1.8.4rc1 (revision 14376) (16 August 2010)

      I create simple host with:
      1. macros {$PORT} = 80
      2. Item - simple check tcp,{$PORT}
      3. Trigger {HOST:tcp,tcp,{$PORT}.last(0)}#1

      I create action to send e-mail, where i used macros {{HOSTNAME}:

      {TRIGGER.KEY}

      .last(0)} to get last result of item.

      At this case i receive email with result UNKNOWN, but i can see rigth value in last data. (the same result if i use template)

      When i don't use macros and item like tcp,80 , i receive email with rigth value.

            Unassigned Unassigned
            ruswold Petrov Vladimir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: