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

Template macros fail to expand for active agent items

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 2.2.10
    • 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.

            Unassigned Unassigned
            ryan.armstrong Ryan Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: