Zabbix Integration dont work

Hello, there ist a Bug in Zabbix Integration.

The following steps will solve the problem until the next core update.

docker exec -ti homeassistant bash

Patch File:
vi /usr/local/lib/python3.11/site-packages/pyzabbix/api.py

Line 208 und 210
user to username

Please Fix the Code.

GitHub Issue

"
2023-11-11 11:47:58.312 ERROR (SyncWorker_5) [homeassistant.components.zabbix] Unable to login to the Zabbix API: {‘code’: -32602, ‘message’: ‘Invalid params.’, ‘data’: ‘Invalid parameter “/”: unexpected parameter “user”.’, ‘json’: “{‘jsonrpc’: ‘2.0’, ‘method’: ‘user.login’, ‘params’: {‘user’: ‘homeassistant’, ‘password’: ‘********’}, ‘id’: ‘1’}”}
2023-11-11 11:47:58.461 ERROR (MainThread) [homeassistant.setup] Setup failed for zabbix: Integration failed to initialize."

1 Like

Hi!

Issue is in the library used by the HA integration. You should open an issue there. Note that this lib seems abandoned.

Hello, @makai

Yes youre right. Ive found this Entry on GitHub.
They discuss about top Change to pyzabbix.

1 Like