a-schild / Zabbix-HyperV-Templates

Zabbix Templates and agent script for HyperV monitoring
51 stars 29 forks source link

Cannot get data from Templeate #11

Closed yousefchtourou closed 6 months ago

yousefchtourou commented 5 years ago

Hi

I use Zabbix Server 4.0.1 / Zabbix agent 3.4.11

I put the templeate with hyper-V (windows server 2012) and i follow all instructions in Wiki

But i can't get any data

ameiji commented 5 years ago

Hi! most probably it is an incompatibility with Zabbix Server 4. These templates have been tested only with Zabbix version 3.

yousefchtourou commented 5 years ago

all items is enabled and no error in all of thems :(

yousefchtourou commented 5 years ago

FYI : The job of Discrovry rule is worked and i can see all of VM

but i can't monitor the server ilself

ameiji commented 5 years ago

Did you check the zabbix_server.log for any errors regarding your Hyper-v metrics?

yousefchtourou commented 5 years ago

Zabbix_server.log don't show any errors on Hyper-v metrics

cmoreno1981 commented 3 years ago

I can to monitor VMDISK only, when I to run commands by powershell working correctly, but from Zabbix showing the errors: image

"GetVMCPUs" { $ItemType = "VMCPU" $Results = (Get-Counter -Counter '\Hyper-V Hypervisor Virtual Processor()\% Total Run Time').CounterSamples | Where-Object {$_.InstanceName -like ''+$VMName+':*'} | select InstanceName }

In this image ran by powershell

image

a-schild commented 6 months ago

Hello, I have received ownership of this repository. Is this issue still valid, and if yes, do you have a solution for it, or more analysis?

If no answer is received by end of march 2024 I will close this issue