Good morning,
this is my first post in the forum therefore please tell me if I posted this in the wrong place. First of all thank you all, this precious community helped me a lot in solving many issue with my Zabbix instance. I have Zabbix appliance installed, latest version, that is monitoring several ESXi hypervisors and a Virtual Center. I configured the Vmware template for grabbing info from Vcenter and all was good: the system automatically discovered the ESXi, VMs, datastore and many other information. I configured a Network map showing the status of each ESXi server and no problem so far. My problem is when I want to add an item gathered with Vmware template in the map, for example list the number of guest VMs in each hypervisor.
Following the documentation, I have created a image in the map and configured the label like that:
Number of VMs: {?last(/A.B.C.D/vmware.hv.vm.num[https://servername/sdk,37393150-3636-5a43-4a31-XXXXXXXXXXXX])}
Where:
A.B.C.D is the ip address of the Vcenter
servername: is the hostname of the vcenter
I tried different combination of the parameters but the outcome is always the same (for instance, I tried with A.B.C.D as the IP of the hypervisor)
The label return the value "UNKNOWN" therefore for sure I'm doing something wrong.
The item "vmware.hv.vm.num[https://servername/sdk,37393150-3636-5a43-4a31-XXXXXXXXXXXX]" correctly reports the number of VMs guest present in the hypervisor queried (I checked directly under the items tab.
Do you have any suggestion on how I can configured the correct query in the label?
Thank you,
LM
this is my first post in the forum therefore please tell me if I posted this in the wrong place. First of all thank you all, this precious community helped me a lot in solving many issue with my Zabbix instance. I have Zabbix appliance installed, latest version, that is monitoring several ESXi hypervisors and a Virtual Center. I configured the Vmware template for grabbing info from Vcenter and all was good: the system automatically discovered the ESXi, VMs, datastore and many other information. I configured a Network map showing the status of each ESXi server and no problem so far. My problem is when I want to add an item gathered with Vmware template in the map, for example list the number of guest VMs in each hypervisor.
Following the documentation, I have created a image in the map and configured the label like that:
Number of VMs: {?last(/A.B.C.D/vmware.hv.vm.num[https://servername/sdk,37393150-3636-5a43-4a31-XXXXXXXXXXXX])}
Where:
A.B.C.D is the ip address of the Vcenter
servername: is the hostname of the vcenter
I tried different combination of the parameters but the outcome is always the same (for instance, I tried with A.B.C.D as the IP of the hypervisor)
The label return the value "UNKNOWN" therefore for sure I'm doing something wrong.
The item "vmware.hv.vm.num[https://servername/sdk,37393150-3636-5a43-4a31-XXXXXXXXXXXX]" correctly reports the number of VMs guest present in the hypervisor queried (I checked directly under the items tab.
Do you have any suggestion on how I can configured the correct query in the label?
Thank you,
LM
Comment