Using API libraries
While we looked at a low-level API example, you aren't likely to use shell scripts to work with the Zabbix API. The shell isn't that well suited for working with JSON data even with extra tools, so another programming or scripting language might be a better choice. For many of those languages, we wouldn't have to implement full raw JSON handling, as there're libraries available. At the time of writing this, a list of available libraries is maintained at http://zabbix.org/wiki/Docs/api/libraries. Alternatively, just go to http://zabbix.org and look for the Zabbix API libraries link.
All of these libraries are community supplied. There're no quality guarantees, and any bugs should be reported to the library maintainers, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access