[ZBX-8584] vmware.eventlog key read same eventlog several times Created: 2014 Aug 06 Updated: 2017 May 30 Resolved: 2015 Jan 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.2.5 |
Fix Version/s: | 2.2.9rc1, 2.4.4rc1, 2.5.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Kodai Terashima | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | duplicates, eventlog, vmware | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 2.2.5, ESX 5.1 |
Attachments: | history.png | ||||
Issue Links: |
|
Description |
It seems that vmware.eventlog key read same eventlog several times. |
Comments |
Comment by Andris Zeila [ 2014 Dec 19 ] |
The problem is because vmware returns log records in reverse order. So instead of setting lastlogsize to the biggest event key (id) it is set to the smallest. Also a different issue - EventHistoryCollector is created and the events are gathered in the begining of vmware collector update process. Apparently this the EventHistoryCollector still continues to gather events which are not retrieved and lost when the session (update process) is ended. |
Comment by Andris Zeila [ 2014 Dec 19 ] |
The proposed solution is available in development branch svn://svn.zabbix.com/branches/dev/ZBX-8584
|
Comment by Andris Zeila [ 2015 Jan 08 ] |
The proposed fix was changed - instead of sorting log values by lastlogsize the event ids are sorted before retrieving event data and adding to agent result. Also the lastlogsize processing in poller was changed slightly. |
Comment by dimir [ 2015 Jan 13 ] |
(1) [PS] Please review my code style changes in r51556. wiper Thanks. CLOSED |
Comment by Andris Zeila [ 2015 Jan 13 ] |
Released in:
|
Comment by Alexander Vladishev [ 2015 Jan 14 ] |
(2) Dimir, Andris. Please take a look at my chages in r51573, r51574 and r51575. wiper looks good. sasha CLOSED |