[ZBX-3512] Network Discovery caches results which can not be deleted by interface Created: 2011 Feb 06  Updated: 2017 May 30  Resolved: 2014 Apr 07

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

Type: Incident report Priority: Minor
Reporter: Chris Gray Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 5.5, Zabbix 1.8.3


Issue Links:
Duplicate
duplicates ZBX-3336 Changing autodiscovery rule doesn't c... Closed

 Description   

My scenario with reasoning

[good stuff here]
1 I had setup the zabbix agent on multiple servers and let it listen on all the servers IPS
2 I created a discovery rule to discover my entire IP range using the zabbix agent and system.uname. I put the uniqueness criteria to system.uname
3 I then realized that because of the multiple IPs I got the servers added with the wrong IPs (not the main ones) and therefore the reverse DNS was not the server's main IP.
4 I then edited all my zabbix agents to listen only on the main IP and restarted them all
5 I then deleted all the hosts from zabbix
6 I then waited for the discovery results

[bad stuff here]
7 the discovery IPs/reverse DNS were not updated. It still had mapped to the old IPs, eventhough the zabbix agent isnt listening on it anymore.

Why?
When I deleted the hosts, I expected them to get fully deleted. However, the discovery data is still cached the tables [dhosts] and [dservices]

Expected Result:
I expected when I deleted the hosts from zabbix that it would remove all record of them, so that I could simply rescan and it would update appropriately.



 Comments   
Comment by Aleksandrs Saveljevs [ 2011 Feb 07 ]

Related issue: ZBX-3482.

Comment by Nikolajs Agafonovs (Inactive) [ 2014 Apr 07 ]

duplicates ZBX-3336

Generated at Fri Apr 19 22:34:19 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.