From 3ba14c85d89a32410aa5f313cc9681c6ff863450 Mon Sep 17 00:00:00 2001 From: Eric Eisenhart <1577595+eric-eisenhart@users.noreply.github.com> Date: Fri, 21 Apr 2023 13:51:24 -0700 Subject: [PATCH] Update so can login on zabbix 6.4. The "user" param has been deprecated for a long while now, and they recently disabled it entirely. It's "username" now. --- Zabbix/scripts/actionExecutorForZabbix4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zabbix/scripts/actionExecutorForZabbix4.py b/Zabbix/scripts/actionExecutorForZabbix4.py index 9eb67a2..74af702 100644 --- a/Zabbix/scripts/actionExecutorForZabbix4.py +++ b/Zabbix/scripts/actionExecutorForZabbix4.py @@ -42,7 +42,7 @@ def login_to_zabbix(user, password, url): "jsonrpc": "2.0", "method": "user.login", "params": { - "user": user, + "username": user, "password": password }, "id": 1