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

Zabbix events screen fails to display recent events when using nodes

XMLWordPrintable

      zabbix "history of events" screen will display only events for the highest ID node in the system,

      because zabbix appears to want to get the "list" of events limited by display, then uses php to sort it causes only the top events from one node to be displayed.

      options. fix the sort code or fix the sql query, we did the sql query.

      /usr/share/zabbix/api/classes/CEvent.php
      $sqlOrder .= ' ORDER BY '.implode(',', $sqlParts['order']);

      to

      $sqlOrder .= ' ORDER BY e.clock desc,'.implode(',', $sqlParts['order']);

      this fixed the problem, but its probably not "the best solution"

      Hopefully this saves someone else the headake, have a great day

            Unassigned Unassigned
            starsoft Jim Star
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: