a-schild / Zabbix-HyperV-Templates

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

Error then some counters samples in list is not valid #13

Open asentyurin opened 4 years ago

asentyurin commented 4 years ago

Hi!

Thank you for your template. I got an error then do discover VM perf counters. If some of the counters not valid, it return data, but it leads with powershell error: "Get-Counter : The data in one of the performance counter samples is not valid. View the Status property for each PerformanceCounterSample object to make sure it contains valid data. ...etc." And its passed to json, so Zabbix can't got it.

Please, add "-ErrorAction SilentlyContinue" in Get-Counter comandlets in script.

Have a nice day!

ameiji commented 4 years ago

Hello, unfortunately I can't maintain this repo anymore. If you make a pull request we may try to merge it.

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