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

event.get returns empty response since 4.2 -> 4.4 upgrade

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4.5rc1, 5.0.0alpha1, 5.0 (plan)
    • 4.4.0, 4.4.1
    • API (A)
    • None
    • Ubuntu Xenial, MySQL, 4.4.1
    • Sprint 60 (Jan 2020)
    • 0.125

      my $events = $self->{'api'}->do('event.get', {
          'selectTags'          => "extend",
          'selectRelatedObject' => "extend",
          'selectHosts'         => "extend",
          'select_acknowledges' => "extend",
          'tags'                => [ { "tag" => "Ticket", "value" => "Y", "operator" => 1 } ],
          'source'              => 0,
          'value'               => 1,
      });
      

      Using Zabbix::Tiny perl module interface.

      Since upgrading from 4.2.0 -> 4.4.1 this request now fails with an empty response being received from the Zabbix Server.

      Other API requests still working as expected.

       

            vmurzins Valdis Murzins
            gashton Grant Ashton
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: