Hey guys...
For some clients I've needed to interface with Zabbix for a long time from specific web applications, and now that 1.8 is out with an API it's possible and EASY!
I've written a PHP class that will simplify your use of the Zabbix API, so you can just call the class and directly communicate with Zabbix. So now you can implement Zabbix into any other systems, like other monitoring systems, management interfaces, or even write some utilities to collect data from Zabbix with this API to generate reports.
For now I have left the class a basic passthrough class, as I have not implemented the full objects for each Zabbix object/method because they are very fluid right now and will be changing a lot in coming releases. So I won't waste time (yet) writing classes to validate methods and data structures. The Zabbix API will do this (sorta) for you. This makes the current iteration of this class future-proof as long as they keep the same JSON-RPC methodology for their API.
Anyway... check out the example and download it here...
Your feedback here or on my site is encouraged and appreciated. Especially if you find some bugs. Cheers!
For some clients I've needed to interface with Zabbix for a long time from specific web applications, and now that 1.8 is out with an API it's possible and EASY!
I've written a PHP class that will simplify your use of the Zabbix API, so you can just call the class and directly communicate with Zabbix. So now you can implement Zabbix into any other systems, like other monitoring systems, management interfaces, or even write some utilities to collect data from Zabbix with this API to generate reports.
For now I have left the class a basic passthrough class, as I have not implemented the full objects for each Zabbix object/method because they are very fluid right now and will be changing a lot in coming releases. So I won't waste time (yet) writing classes to validate methods and data structures. The Zabbix API will do this (sorta) for you. This makes the current iteration of this class future-proof as long as they keep the same JSON-RPC methodology for their API.
Anyway... check out the example and download it here...
Your feedback here or on my site is encouraged and appreciated. Especially if you find some bugs. Cheers!
will inform if any bugs will be found
Comment