13hakta / zbxwmi

Zabbix WMI connector
GNU General Public License v3.0
26 stars 9 forks source link

Multiple Error #3

Open ghost opened 4 years ago

ghost commented 4 years ago

From Zabbix Item link to the host

Preprocessing failed for: Traceback (most recent call last):. File "/usr/lib/zabbix/externalscripts/zbxwmi", line 224, in ...

  1. Failed: cannot extract value from json by path "$[7].PercentProcessorTime": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Traceback (most recent call last): File "/usr/lib/zabbix/externalscripts/zbxwmi", line 224, in main() File "/usr/lib/zabbix/externalsc

Python 3.6.9

Francois3362 commented 4 years ago

Hello, I have the same error. Did you find a solution? Thanks a lot. 2020-01-15 16_58_17-Configuration des éléments

13hakta commented 4 years ago

Hello. Please show what in "Processors" string. In a working environment I have this:

[{"Name": "0", "PercentProcessorTime": "None"},{"Name": "1", "PercentProcessorTime": "29"},{"Name": "2", "PercentProcessorTime": "52"},{"Name": "3", "PercentProcessorTime": "17"}]

Francois3362 commented 4 years ago

Sorry, it was a problem with impacket... it's ok now. Did you work with the memory load script? I tried to configure it but zabbix deamon stopped... Can you give me your configuration for memory load? Thks.

Francois3362 commented 4 years ago

I have 197 servers running with this template. For a lot of this servers I have no information for processors part.