Cannot use LLD Macro in vmware.hv.perfcounter

XMLWordPrintable

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

      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?

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

              Created:
              Updated:
              Resolved: