nobody43 / zabbix-mini-IPMI

Disk and CPU temperature monitoring for Linux, FreeBSD and Windows. LLD, trapper.
The Unlicense
91 stars 27 forks source link

Invalid discovery rule value #61

Closed Adam0097 closed 4 years ago

Adam0097 commented 4 years ago

I m new in this zabbix world and I am trying to upload the template to my test server to verify that it works, I still encounter a problem with "Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: ' 'python' is not recognized as an internal or external command, operable program or batch file. '"after uploading the template and assigning it to the host, Python is installed, as well as OpenHardwareMonitorReport, smartools as well, scripts placed (with path configure) in the Zabbix Agent folder

image

image

image

nobody43 commented 4 years ago

Python is not in PATH apparently. Here's how it can be solved: https://github.com/nobodysu/zabbix-mini-IPMI/blob/master/screenshots/python-installation1.png https://github.com/nobodysu/zabbix-mini-IPMI/blob/master/screenshots/python-installation2.png Reboot is required afterwards.

Adam0097 commented 4 years ago

in theory worked, but it only managed to throw such errors in the info

image

and no data collecting

image

nobody43 commented 4 years ago

These errors are expected and data should be there by now. Provide outputs if not: https://github.com/nobodysu/zabbix-mini-IPMI#testing

Adam0097 commented 4 years ago

From client image

Adam0097 commented 4 years ago

Fixed, next error image

nobody43 commented 4 years ago

Are you running the test from admin console (right mouse button -> run as admin)? Please post the server query - it will tell more.

Adam0097 commented 4 years ago

The problem seems to be solved, I removed the port adress from ServerActive in config file and it worked !

image