[ZBXNEXT-2732] Network Discovery: Load balancing of the discovery process Created: 2015 Mar 03 Updated: 2024 Nov 27 Resolved: 2023 Jun 20 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 7.0.0alpha2, 7.0 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Kazuo Ito | Assignee: | Aleksejs Sestakovs |
Resolution: | Fixed | Votes: | 10 |
Labels: | discoveryrule, networkdiscovery, performance | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Epic Link: | Zabbix 7.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Sprint: | Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Story Points: | 10 |
Description |
When we put wide range in the discovery settings, load is concentrated on one of the discoverer process.(For example, /20) Is it possible to handle it in multiple discoverer process? |
Comments |
Comment by Oleksii Zagorskyi [ 2015 Mar 05 ] |
Documentation https://www.zabbix.com/documentation/2.4/manual/discovery/network_discovery states:
I don't think anything can be changed in this regard. Especially taken into account that recently we extended syntax of supported IP ranges - now it may be too complex to be split on parts: I believe that |
Comment by Harsimran Singh [ 2016 Nov 10 ] |
how it work for multiple discovery rules ? would all other rules also processed by same single discoverer? |
Comment by richlv [ 2016 Nov 10 ] |
rubal033, while the documentation does not explicitly say that, if there are multiple discoverer processes, they will split the rules between themselves (but a single rule will never be split). this feature request asks to split rules among multiple discoverer processes. |
Comment by Kazuo Ito [ 2016 Nov 14 ] |
I thought about how to divide the range with Zabbix API and register it. python splite_drule.py <url> <user> <password> <iprange> <split> <json file> <url> : http://192.xxx.xx.xxx/zabbix/api_jsonrpc.php <user> : admin <password> : zabbix <iprange> : 192.168.0.0/16 <split> : 19 <json file> : /tmp/drule.json drule.json { "jsonrpc": "2.0", "method": "drule.create", "params": { "name": "test", "aiprange": "iprange", "delay": "86400", "dchecks": [ { "type": "12", "uniq": "0" }, { "type": "11", "key_": "1.3.6.1.2.1.1.1", "ports": "161", "snmp_community": "public", "uniq": "0" } ], "status" :"1" }, "auth": "auth", "id": 1 } |
Comment by Mike Yurlov [ 2020 May 14 ] |
If Zabbix have ability add address list in one rule, then Zabbix must handle this list as fast as usual "one subnet" rule. Otherwise the ability to create lists is simply cosmetic, but not usable in production. At least the list should be splitted by regexp by comma/space and distributed to all discoveres. Best solution: calculate list address space size and split subnets to all discoverers. Medium: split big subnets to /24 and distribute |
Comment by Aleksejs Sestakovs [ 2023 Jun 08 ] |
Available in versions:
|
Comment by Martins Valkovskis [ 2023 Jun 15 ] |
Updated documentation:
|