I'm attempting to build a script which will automatically e-mail all Zabbix triggers over the last 24 hours to a predefined group (IE: hosts going up/down, etc, etc). We already have immediate e-mail from the Zabbix interface to predefined groups upon important triggers.
It seems that what I 'get' 'trigger' items using the API, I don't actually get trigger "events", I just get a list of triggers that are available. Is there a different object I can use to grab an array w/ all instances of trigger events, and associated data (host, status, etc, etc, etc)?
Thanks!
It seems that what I 'get' 'trigger' items using the API, I don't actually get trigger "events", I just get a list of triggers that are available. Is there a different object I can use to grab an array w/ all instances of trigger events, and associated data (host, status, etc, etc, etc)?
Thanks!
Comment