[ZBX-14972] Data from non-monitored VMware services are not removed from vmware cache Created: 2018 Oct 09  Updated: 2024 Apr 10  Resolved: 2018 Oct 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 3.0.22, 3.4.14, 4.0.0, 4.2.0alpha1
Fix Version/s: 3.0.23rc1, 3.4.15rc1, 4.0.1rc1, 4.2.0alpha1, 4.2 (plan)

Type: Problem report Priority: Major
Reporter: Andris Zeila Assignee: Michael Veksler
Resolution: Fixed Votes: 0
Labels: cache, vmware
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team A
Sprint: Sprint 44, Sprint 45
Story Points: 0.25

 Description   

By design VMware collector is supposed to remove from cache services that are not accessed for a day. By implementation it doesn't:

-       if (FAIL != (index = zbx_vector_ptr_search(&vmware->services, &service, ZBX_DEFAULT_PTR_COMPARE_FUNC)))
+       if (FAIL != (index = zbx_vector_ptr_search(&vmware->services, service, ZBX_DEFAULT_PTR_COMPARE_FUNC)))

Also a day of inactivity is surely an overkill. An hour would be enough.



 Comments   
Comment by Michael Veksler [ 2018 Oct 16 ]

Available in:

  • 3.0.23rc1 r85815
  • 3.4.15rc1 r85816
  • 4.0.1rc1 r85817
  • 4.2.0alpha1 (trunk) r85818
Generated at Fri Apr 26 03:32:23 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.