-
Incident report
-
Resolution: Won't fix
-
Minor
-
None
-
2.0.7
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