Zabbix API

From wikieduonline
Revision as of 12:33, 26 April 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.


curl  -H "Content-Type: application/json-rpc" -X POST  http://192.168.0.18/api_jsonrpc.php -d '{"jsonrpc":"2.0","method":"apiinfo.version","id":1,"auth":null,"params":{}}'
{"jsonrpc":"2.0","result":"4.4.6","id":1}
curl -s -X POST -H 'Content-Type: application/json-rpc' -d '{ "params": { "user": "Admin", "password": "zabbix" }, "jsonrpc": "2.0", "method": "user.login", "id": 0 }' 'http://192.168.0.18/api_jsonrpc.php' | jq .


Related terms


See also

Advertising: