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