I've got the API via andrew farley's php script working and can pull out basic information. However, I'm struggling to find the info I need on the wiki pages for the API. (My PHP level is very basic)
In short I need to find which hosts have template XXX applied and then find the status of item YYY within that template over time. Alternatively find the status of a trigger (its actually the event I'm guessing) on a certain date/time to see if it went true at all.
The reason behind this is that I've a script that monitors backup exec and reports to zabbix and want to be able to put up a screen showing for each server with the backup exec template the days over the past X days on which the backup ran successfully and when there were errors/problems so that can spot any trends etc.
In short I need to find which hosts have template XXX applied and then find the status of item YYY within that template over time. Alternatively find the status of a trigger (its actually the event I'm guessing) on a certain date/time to see if it went true at all.
The reason behind this is that I've a script that monitors backup exec and reports to zabbix and want to be able to put up a screen showing for each server with the backup exec template the days over the past X days on which the backup ran successfully and when there were errors/problems so that can spot any trends etc.
) and then use get hosts with templateids as I've got from before.
Comment