-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nagstamon 3.14.0 and 3.10.1 not working with Zabbix 6.4.12 #1018
Comments
I did some testing. i was wrong with "zabbix_api.py". but we use "Monitoring type: ZabbixProblemBased", with this type of server setup the issue accure. in ZabbixProblemBased.py line 99 login methode is defined with it should cover zabbix version there, i guess. |
ok, more informations. `
` and with zabbix 6.4.12 it is working for me. |
I can support that request. I do now have the same issue with Nagstamon 3.14.0. Side information: |
@reesealexander thanks for your research. I applied your patch and it is available now in latest testing release. Can you please try if it works as expected? |
Hi @HenriWahl, Sorry but github or i´m not able to give this code a god looking format in this comment window.
|
@reesealexander I added in into the latest testing release. |
Hi @HenriWahl , i have taken a look into the function "api_version()" you have implemented into the Nagstamon/Servers/ZabbixProblemBased.py during my code changes i have discovered that this is not working due to a problem with the returned object in obj, that not include an array it is juts a string. works for some kind of reason different in the ZabbixProblemBased.py than in zabbix_api.py. that is why i have changed the funtion to just return the "obj" variable. as you see in my comments from 2 days ago. ;-) |
Ah OK, I thought this comment was a mistake. 🤪 |
@reesealexander I rebuilt with your change - can you test the latest testing release? It has the same version number for the sake of faster deployment. |
Hi @HenriWahl , |
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:
didn´t work like expected. cause it send "user" parameter to zabbix API and not "username", even zabbix version is higher than 6.4.
The text was updated successfully, but these errors were encountered: