Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1127

Special template items with host-based user macros not working

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 1.9.9 (beta)
    • Server (S)
    • Debian 6.0.3
      mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64)
      PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli)

      No value is retrieved for an item that has the following configuration:

      • a template item of type "perf_counter" that uses a macro: perf_counter[\230({$PROCESS_DFSR})\1424]
      • the macro is defined on each host that is linked to the template

      Server log shows:
      Zabbix agent item [perf_counter[\230({$PROCESS_DFSR})\1424]] on host [S******] failed: another network error, wait for 15 seconds

      When I use the same item definition directly on a host, everything is ok.
      As soon as I move it into a linked template, it stops working.

      Another template item with the following key (and host-based macros) works fine, so maybe it's related to perf_counter?:
      net.if.in[{$NIC_PRIMARY},bytes]

            Unassigned Unassigned
            maxhq Jens Berthold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: