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

User macro not evaluated in function parameter

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.2.3
    • Frontend (F), Server (S)

      I have a template with the following trigger:

      {ping:icmppingsec.max({$PING_TOLERANCE})}=0.0

      I defined {$PING_TOLERANCE} inside the template (but I also tried in the affected host).
      I get a grey "?" in the latest 20 issues, and the message:
      Evaluation failed for function: {HOSTNAME:icmppingsec.max({$PING_TOLERANCE})}
      in dashboard and in Configuration->Hosts->triggers
      According to the documentation (https://www.zabbix.com/documentation/2.2/manual/config/macros/usermacros 3rd example) it should be supported.

        1. Zabbix_ping_template.png
          56 kB
          Nicola Canepa
        2. Zabbix_ping_template-macros.png
          15 kB
          Nicola Canepa
        3. Zabbix_ping_trigger_conf.png
          35 kB
          Nicola Canepa
        4. Zabbix_ping_triggers.png
          37 kB
          Nicola Canepa

            Unassigned Unassigned
            canepan Nicola Canepa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: