Nagstamon
Nagstamon copied to clipboard
Nagstamon 3.14.0 and 3.10.1 not working with Zabbix 6.4.12
we have update zabbix from 6.4.2 to 6.4.12, after restart of nagstamon it´is not abble to connect to zabbix anymore
actual zabbix version 6.4.12 actual nagstamon version 3.14.0
Error Message: Nagstamon.Servers.ZabbixProblemBased.ZabbixLightApiException: ZBX: <Invalid parameter "/": unexpected parameter "user".
i have tested zabbix api call with method: apiinfo.version and we get "result": "6.4.12"
i don´t understand the complete code but for me it looks like in "zabbix_api.py" function "login" with code:
# check version to use the correct keyword for username which changed since 6.4
if self.api_version() < '6.4':
username_keyword = 'user'
else:
username_keyword = 'username'
didn´t work like expected. cause it send "user" parameter to zabbix API and not "username", even zabbix version is higher than 6.4.