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

Cannot close trigger event using API

XMLWordPrintable

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

      Create a trigger based on icmp template for instance (set the 'allow manual close' checkbox in trigger template definition first)

      configure a host with this template to generate an event (wrong ip for instance)
      Using API event.get , get the event id related to this problem
      Using API event.acknowledge, provide eventids, message and action set to 1.
      Zabbix returns following message:
      Only trigger events can be acknowledged

      This event is coming from trigger, so I don't understand why using this API it's not possibel to close events.
      Regards,
      Marc

      Result:
      See screenshot...
      See log file...
      See memory dump...
      Expected:
      See screenshot...
      See attached patch file...

            Unassigned Unassigned
            marc55 Marc Sowinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: