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

trapper doesn't work with macros in the key

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.4.3
    • Proxy (P), Server (S)
    • None

      When a macro is used in the key of a trapper item, the server will only accept data if you specify the key with unresolved macro names.

      eg:
      host "host01" has a trapper item "trapperdata[{HOST.NAME}]"

      zabbix_sender [...] -k "trapperdata[host01]" [...] FAIL
      zabbix_sender [...] -k "trapperdata[{HOST.NAME}]" [...] SUCCESS

            Unassigned Unassigned
            jodocus Joost Bekkers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: