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

Error in counter JSON by CPU an NIC

Open cmoreno1981 opened this issue 4 years ago • 2 comments

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Get-Counter : The object does not found in the device On C:\Program Files\Zabbix Agent\scripts\zabbix-vm-perf.ps1: 163 Character: 17

  • ...

OS Windows Server Datacenter 2016 Server Zabbix 5.2.6

Regards

cmoreno1981 avatar May 09 '21 04:05 cmoreno1981

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

Hello, yes this problem is still relevant, I also get the error "Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Exception calling "Substring" with "2" argument(s): "Index and length must refer to a location within the string. Parameter name: length" At C:\Pro" I am using Windows Server 2016 English version, Zabbix Agent 2 version 6.0.28, server 6.0.28 Thanks for your work!

NGC2068 avatar Apr 10 '24 12:04 NGC2068

We have not tested it with Agent2

a-schild avatar Aug 30 '24 07:08 a-schild