Template macros fail to expand for active agent items

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Affects Version/s: 2.2.10
    • Component/s: Server (S)

      This issue is reproducible on multiple Linux servers running Zabbix 2.2.9 and 2.2.10 in the following scenario:

      • Active agent items are defined in a template which uses template macros in some of the item parameters (E.g. `echo[{$MESSAGE}]`
      • The macros are given a value in the Template or assigned Hosts

      Intermittently, but typically at server startup, the server does not expand the macros and sends the raw item keys to the zabbix agents when they request a configuration update. Obviously these items fail and become unsupported.

      Intermittently, these macros are correctly expanded and the correct config is passed to the agents. Unfortunately, by this time, the items are still pending their next unsupported items poll and remain unmonitored for some time.

      This has not been tested on any other version of Zabbix Server, or with any other item type.

      Please see https://github.com/cavaliercoder/libzbxpgsql/issues/17 for an example of this issue and some server log entries.

            Assignee:
            Unassigned
            Reporter:
            Ryan Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: