kovetskiy / zabbixctl

Most effective way for operating in Zabbix Server
MIT License
139 stars 28 forks source link

invalid character '<' looking for beginning of value #12

Closed dtherhtun closed 7 years ago

dtherhtun commented 7 years ago

`[dther@opslab zabbixctl]$ zabbixctl -Tp /cache

can't authorize user 'admin' in zabbix server

└─ invalid character '<' looking for beginning of value `

kovetskiy commented 7 years ago

Error happened because zabbixctl expects to see JSON response, but got something that begins with < (html, I guess). Please recheck url to zabbix api.

dtherhtun commented 7 years ago

Thank You . i need to add /zabbix/ in url