[ZBX-3662] lastlogsize is not sent from server to proxy Created: 2011 Mar 29  Updated: 2017 May 30  Resolved: 2014 Sep 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Rudolfs Kreicbergs Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: eventlog, log, proxy
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-444 Improvement processing of event logs ... Closed

 Description   

lastlogsize is not sent to proxy, see create/schema/schema.sql
this might cause a problem if a proxy is introduced into an existing environment, causing rescanning the whole file. needs more investigation.



 Comments   
Comment by Rudolfs Kreicbergs [ 2011 Mar 30 ]

Confirmed. Possible scenarios:
A) switching from server to proxy
1) log is monitored by server
2) switched to proxy - lastlogsize is set to 0 for proxy
3) the whole log is re-read

B) switching from proxy to server
1) log is monitored by proxy - lastlogsize is set to 0 for server
2) log monitoring switched to server
3) the whole log is re-read

C) switching temporarily from proxy to server
1) log is monitored by proxy - lastlogsize is set to 0 for server
2) proxy is shut down
3) host is switched to server
4) the whole log is re-read - X new items are read
5) host is switched back to proxy
6) proxy is brought up - lastlogsize is the same as in step 2) for the proxy
7) the last X items are re-read

Comment by Alexei Vladishev [ 2011 Mar 31 ]

The problem won't be fixed in 1.8.x because there are some many changes required everywhere. Let's leave it as it is for now and fix in one of 2.0.x or 2.x.

Comment by Christian Brosch [ 2013 Jan 23 ]

see https://www.zabbix.com/forum/showthread.php?t=38817

Comment by Alexander Vladishev [ 2014 Sep 24 ]

It will be fixed under ZBXNEXT-444.

I close the issue.

Generated at Thu Apr 25 11:32:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.