[ZBX-7959] Problems with discovery Created: 2014 Mar 18  Updated: 2017 May 30  Resolved: 2014 Apr 10

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

Type: Incident report Priority: Critical
Reporter: Eduardo Wutzl da Silva Assignee: Unassigned
Resolution: Duplicate Votes: 4
Labels: networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

I have had problems with CentOS 6.4, FreeBSD 8.4. The two environments are physical, however one of them is large (3,000 hosts) and the other is a lab with 10 hosts.


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

 Description   

A large part of the time in which the problem appears to me, is when I need to edit a discovery in very large networks. I have one "10.0.0.0/20" (ie 4,000 hosts), and need to edit some configuration discovery. It simply no longer updates, nothing changes and then only solves cloning and disabling the previous discovery. Now everything back to normal. I realize also that some time later the problem comes back.

This proxy, I have several Discoverys, around a 16 totaling 65,000 me possibilities of discoveries.
She also has several "discovery checks" (around 5) and every 3 days, I have the same problem.



 Comments   
Comment by Hernandes Martins [ 2014 Mar 18 ]

I have the same problem when editing after I added a new criterion the discovery did not add more hosts on the platform, tested five tests and the results were the same. to work around this case, I had to delete and create a new discovery.

Comment by Filipe Paternot [ 2014 Mar 18 ]

It also happens with server and proxy setups.

Comment by richlv [ 2014 Mar 18 ]

this is likely related to the serial fashion discovery is performed in - server probably starts working on the discovery and then it takes a long time to get to the changed one.

not a bug as such, and i seem to recall there being an issue about doing discovery in a more parallel/split up fashion

Comment by Eduardo Wutzl da Silva [ 2014 Mar 18 ]

*richlv,

The network was / 17 and made ​​several networks / 20. The problem was the same. Tested with two / 24 networks and had the same problem.
Explain to me a little more about what you mean to mount something more parallelized.

Comment by richlv [ 2014 Mar 18 ]

the idea is that currently a discovery process grabs one discovery rule and starts on it - like your /17 network. it goes through all ips with all checks sequentially. if you have 100 discoverer processes, it does not help - only one works on a rule at a time.

haven't tested, but most likely editing a rule will not be taken into account until previous processing is finished - which might be a long time.

as a test you can try to restart server and see whether that helps to pick up discovery rule changes.

additionally, if you have one discovery process and one huge subnet and one small, the discovery process will not process the small one as often as it might have to because it will be busy in that large subnet - which it processes fully before looking for anything else to do.

Comment by Eduardo Wutzl da Silva [ 2014 Mar 18 ]
  • richlv

Are understanding. You mean, no point having a discovery with very large and diverse range checks discovery. If you have 200 ips in this range and 4 Discoverys checks, it will run there for 4x, using only 1 work of discovery.

Ie, we need to further separate, not only do subnet, but also trying to separate the discovery checks.
Correct thinking?

Comment by Filipe Paternot [ 2014 Apr 04 ]

Adding information:

From what i saw on zabbix_server/discoverer/discoverer.c, each ip is fully checked.
If discovery hits 10.0.0.3, it will perform all checks that rule has against that ip, and the move to the next..

It also will only stop working when it finishes. If you remove the discovery, will break it too, but im not sure if you disable will work.
Cloning works if you have a worker avaiable for the new discovery rule.

For it to update, only a restart will update the execution of existing discovery rule.

I will perform some tests with smaller /24 networks and update here how that works out.

Comment by Eduardo Wutzl da Silva [ 2014 Apr 07 ]

One of the things that would solve most certainly would be the discovery by adding the equipment returns (sys.Name.0 (SNMP) and system.name (zabbix agent))

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

duplicates ZBX-3336

Generated at Tue Apr 08 22:08:09 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.