January 2019
Intermediate to advanced
798 pages
20h 33m
English
One of the simplest ways to obtain the API version in Zabbix is probably by Zabbix itself making use of the HTTP agent item and some JSON preprocessing. For this, we'll create a new item. It doesn't really matter on what host—let's do it on A test host. Go to Configuration | Hosts and create a new item on our A test host host with the following parameters:
{ "jsonrpc": "2.0", "method": "apiinfo.version", "params": [], "id": 1 }
Read now
Unlock full access