[ZBX-9235] Zabbix Agent uses old active metrics and starts read files on not the first Created: 2015 Jan 20 Updated: 2017 Nov 13 Resolved: 2017 Nov 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 2.0.14 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | MATSUDA Daiki | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | logmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||
Issue Links: |
|
Description |
Zabbix agent uses old active metrics after rechanging item keys or making new keys same as old data. So, it starts to read the log files with old mtime and lastlogsize. 1. create item with key log[/tmp/foo.txt] 2. change item with key log[/tmp/foo.txt, .*] for 1's items 3. some application outputs to the log file. 4. create new item with item key log[/tmp/foo.txt] The problem is that agent judges the differences only with item keys. I suggest you to use itemid. |
Comments |
Comment by MATSUDA Daiki [ 2017 Aug 01 ] |
I confirmed that this bug was fixed by another way to remove unreceived data at 3.0.0 r52165. |
Comment by Andris Mednis [ 2017 Nov 13 ] |
Thanks!! Closing. |