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

Cannot use LLD Macro in vmware.hv.perfcounter

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.6
    • Fix Version/s: None
    • Component/s: Server (S), Templates (T)
    • Labels:
    • Environment:
      CentOS7.4, PostgreSQL9.3

      Description

      Hi guys,

        From section "vmware_keys" of ZABBIX 4.0 manual, it's said the format of hv.perfcounter is "vmware.hv.perfcounter[<url>,<uuid>,<path>,<instance>]". It seems to support LLD, but while I was trying to add this into LLD rule, I got error "Performance counter instance was not found", item prototype key is:

      vmware.hv.perfcounter[{$VMS_URL},{HOST.HOST},"datastore/write[average]",{#DATASTORE}]

        (Host macro {$VMS_URL} has a valid value.)

        I've tried to create a non-LLD item with a valid(just discovered) storage name:

      vmware.hv.perfcounter[{$VMS_URL},{HOST.HOST},"datastore/write[average]",datastore1]

        I got the same error.

        But the official keys could work:

      vmware.hv.datastore.size{$VMS_URL},{HOST.HOST},{#DATASTORE}

        And other non-LLD items also works fine:

      vmware.hv.perfcounter[{$VMS_URL},{HOST.HOST},"cpu/usage[average]"]

        Why does the LLD-discovered "datastore1" got error "Performance counter instance was not found"? Is there some configuration I lost, or maybe vmware.hv.perfcounter does not suppose to support {#DATASTORE} at all?

        Attachments

          Activity

            People

            • Assignee:
              wiper Andris Zeila
              Reporter:
              nobody@nowhere nobody@nowhere
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: