qk4l / zabbix-cachet

Python script which sync Zabbix IT Services with Cachet
MIT License
80 stars 32 forks source link

zabbix-cachet status error Invalid params #52

Closed ysicing closed 2 months ago

ysicing commented 4 years ago

I started the zabbix-cachet but then got this error

2019-10-13 16:14:03  DEBUG: (MainThread) Starting new HTTP connection (1): 10.147.20.33:79
2019-10-13 16:14:05  DEBUG: (MainThread) http://10.147.20.33:79 "POST /api_jsonrpc.php HTTP/1.1" 200 None
2019-10-13 16:14:05  DEBUG: (MainThread) Response Code: 200
2019-10-13 16:14:05  DEBUG: (MainThread) Response Body: {
    "jsonrpc": "2.0",
    "error": {
        "message": "Invalid params.",
        "data": "Invalid parameter \"/password\": a character string is expected.",
        "code": -32602
    },
    "id": 0
}
2019-10-13 16:14:05  ERROR: (MainThread) ('Error -32602: Invalid params., Invalid parameter "/password": a character string is expected.', -32602)
root@hk1.vps:~/blog/status#

Zabbix 4.2.6 Cachet 2.4-dev All in docker

And I am trying to use pyzabbix is no problem

qk4l commented 2 months ago

This error was returned from Zabbix I guess that password was empty in config file or specific auth type is used in Zabbix instalation