Ad Widget

Collapse

Retrieving all Zabbix triggers using API despite memory issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michal
    Junior Member
    • Nov 2015
    • 6

    #1

    Retrieving all Zabbix triggers using API despite memory issue

    Hi,

    I was previously having trouble retrieving all of my Zabbix triggers because of a memory issue (500 internal server error).

    To solve this, I am thinking of first requesting all of the triggers with the parameter output = triggerid and then requesting the triggers with extended information using the returned list of ids, let's say 50 at a time, by their triggerid.

    The first trigger_ get with will be with the parameter: output = "triggerid"

    Then, I am planning on using trigger_get to get 50 triggers at a time (using 50 triggerids from the previous call) with the parameters : triggerids = (array of 50 trigger ids), output="extend", selectHosts="extend",selectItems="extend",selectFu nctions="extend", expandComment=1, expandDescription=1, expandExpression=1

    Does this guarantee that I will receive all of my triggers?

    Thanks in advance
Working...