Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10119

Method to go over all triggers given memory limit

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • API (A)
    • None

      I want to be able to receive all of my triggers and their last event. However, I am limited by the Zabbix api_jsonrpc.php script memory.

      My original idea was to use trigger.get with a limit, sort by triggerid, and each time only get triggers from a certain triggerid. However, to the best of my understanding, it is not possible to get triggers using "id_from" as it is possible in event.get.

      Is it possible to get a list of all triggerids without exceeding the memory limit? What is the best way to systematically go over all of the triggers given the memory limit?

      Thanks!!

            Unassigned Unassigned
            michal2590 Michal Levin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: