[ZBX-13788] agent availability icon stays gray after switching host to another proxy. Created: 2018 Apr 23 Updated: 2024 Apr 10 Resolved: 2018 May 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 3.0.16, 3.4.8 |
Fix Version/s: | 3.0.18rc1, 3.4.10rc1, 4.0.0alpha7, 4.0 (plan) |
Type: | Problem report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Antons Sincovs |
Resolution: | Fixed | Votes: | 0 |
Labels: | availability, cache, proxy | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | Sprint 32, Sprint 33, Sprint 34 | ||||||||||||||||
Story Points: | 1 |
Description |
Steps to reproduce: We assume that ConfigFrequency of active proxies is relatively low. In real example it's 120 seconds. And CacheUpdateFrequency on server side is also 120 seconds. Steps to reproduce: Here are logs: Proxy2 cache reload: 23881:20180423:190828.371 forced reloading of the configuration cache 23881:20180423:190828.377 received configuration data from server at "127.0.0.1", datalen 3453 23902:20180423:190857.043 enabling SNMP agent checks on host "HostA": host became available Server cache reload: 6103:20180423:190828.377 sending configuration data to proxy "Proxy2" at "127.0.0.1", datalen 3453 6096:20180423:190857.560 enabling SNMP agent checks on host "HostA": host became available 6080:20180423:190907.954 forced reloading of the configuration cache HostA availability status on server and proxies databases, different time poinds: before and after some changes. With comments:
19:08:21
<<< HostA "monitored by" changed: Proxy1 => Proxy2
19:08:28
Server: 1
Proxy1: 1
Proxy2:
<<< Proxy2 cache reload:
19:08:29
Server: 1
Proxy1: 1
Proxy2: 0
<<< server spot/got something and reseted host to unknown
19:08:30
Server: 0
Proxy1: 1
Proxy2: 0
19:08:56
Server: 0
Proxy1: 1
Proxy2: 0
<<< an item polled and HostA detected as available
19:08:57
Server: 0
Proxy1: 1
Proxy2: 1
<<< server received the availability update
19:08:58
Server: 1
Proxy1: 1
Proxy2: 1
19:09:07
Server: 1
Proxy1: 1
Proxy2: 1
<<< Server config cache reload and icon magically reseted to unknown
19:09:08
Server: 0
Proxy1: 1
Proxy2: 1
Any further config cache updates will not update the icon. The Proxy2 restart helps to update the availability icon on frontend side. Note - we have such doc: https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#host_availability_improvements It might be related to recent changes in - |