Zabbix-HyperV-Templates icon indicating copy to clipboard operation
Zabbix-HyperV-Templates copied to clipboard

Error then some counters samples in list is not valid

Open asentyurin opened this issue 5 years ago • 2 comments

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!

asentyurin avatar Nov 22 '19 12:11 asentyurin

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

ameiji avatar Nov 27 '19 19:11 ameiji

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

a-schild avatar Feb 21 '24 13:02 a-schild