[ZBX-11889] Zabbix do not update lastaccess for passive proxy Created: 2017 Mar 09 Updated: 2024 Apr 10 Resolved: 2017 Apr 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.2.4 |
Fix Version/s: | 3.0.9rc1, 3.2.5rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | passiveproxy, proxy | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix passive proxy |
Team: | Team A |
Team: | Team A |
Sprint: | Sprint 3, Sprint 4, Sprint 5 |
Story Points: | 3 |
Description |
If proxy has more than 1000 values to send, Zabbix server does not update lastaccess (last seen) field. |
Comments |
Comment by Vladislavs Sokurenko [ 2017 Mar 09 ] |
Is there some kind of warning like: "proxy \"%s\" at \"%s\" returned no history" " data: check allowed connection types and access rights", proxy.host, proxy.addr What does get_data_from_proxy() return ? Do you have log ? |
Comment by Viktors Tjarve [ 2017 Mar 16 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11889 This issue has to do with receiving more than 1000 values from proxy and then after handling the first 1000 loosing connection or receiving invalid data instead of the the rest of the values. Now if any valid data is received before something going wrong, the lastaccess will be updated. |
Comment by Sergejs Paskevics [ 2017 Mar 24 ] |
(1) This way to setting the lastaccess time is not quite correct since it sets the time of the first error, but you need the time of the last successful update. viktors.tjarve RESOLVED in r66746 and r66747. s.paskevics CLOSED. |
Comment by Viktors Tjarve [ 2017 Mar 28 ] |
(2) Initialise the new variable last_access for every host that is being processed. Also set the current time value when configuration data to proxy has been successful sent and data for host availability has been received. viktors.tjarve RESOLVED in r66846. s.paskevics CLOSED. |
Comment by Sergejs Paskevics [ 2017 Apr 03 ] |
(3) Function comments are not updated in svn://svn.zabbix.com/branches/dev/ZBX-11889_34 - proxy_get_data, proxy_get_host_availability, proxy_get_history_data, proxy_get_discovery_data and proxy_get_auto_registration. Please check my minor changes r67128. viktors.tjarve RESOLVED in r67140. Changes in r67128 look good. s.paskevics CLOSED. |
Comment by Sergejs Paskevics [ 2017 Apr 07 ] |
Successfully tested. |
Comment by Viktors Tjarve [ 2017 Apr 10 ] |
Released in:
|