[ZBXNEXT-5197] Can Zabbix dependent items limit be safely extended from 999 to something high like 999999? Created: 2019 Apr 26 Updated: 2024 Jun 07 Resolved: 2019 Oct 03 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Proxy (P), Server (S) |
Affects Version/s: | 4.2.0 |
Fix Version/s: | 4.4.0beta1, 4.4 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Alexey Asemov | Assignee: | Andrejs Tumilovics |
Resolution: | Fixed | Votes: | 6 |
Labels: | dependentitems, limits | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
||||||||||||||||
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | Sprint 56 (Sep 2019) | ||||||||||||||||
Story Points: | 0.25 |
Description |
We have a big JSON (~80kb) reported to Zabbix, and we have to extract several thousands of distinct load counter values from it using JSONPath in dependent items after discovery. So the question: can dependent items limit can be heightened to a very high value (we actually need <10000, but let's assume i.e. 1000000), or would this cause any severe issues besides heightened server load? |
Comments |
Comment by Alexey Asemov [ 2019 Apr 26 ] |
For the feature request itself, maybe this limit can be made configurable? |
Comment by Alexey Asemov [ 2019 Jun 26 ] |
Just to add, I am running heavy Zabbix instance with limit extended, having several thousands of dependent items (around 4K+ for around six master items, totaling to 25K+ dependent items over the limit, and tens of thousands of other dependent items along). No issues encountered from extending the limit. |
Comment by Egor [ 2019 Jun 27 ] |
Hi! I'm using Zabbix to receive values from prometheus node-exporter. We have really huge environment, and for one prometheus metric there can be more than 3k+ values. Please, increase the number of depended items. |
Comment by Dimitri Bellini [ 2019 Sep 06 ] |
From documentation: *Limitations* Only same host (template) dependencies are allowed An item prototype can depend on another item prototype or regular item from the same host Maximum count of dependent items for one master item is limited to 999 Maximum 3 dependency levels allowed Dependent item on a host with master item from template will not be exported to XML Is not clear if the limit of 999 dependent items is a total number of all 3 dependency levels allowed per Master or not? At the moment with 4.2.6, if spawn a Master Item in other 6 dependent items and use them as master for 6 LLDs i received an Error Message that say "maximum dependent reached".... |
Comment by Andrejs Tumilovics [ 2019 Sep 26 ] |
Available in 4.4.0beta1 (master) 8d47a344 |
Comment by Dimitri Bellini [ 2019 Sep 26 ] |
The code merge is related to extend the limit to "9999" dependant items? If yes i think is not enough for PromQL metrics use cases. |
Comment by Aleksandrs Larionovs (Inactive) [ 2019 Sep 26 ] |
Yes, dimitri.bellini maximum count of dependent items for one master item will be limited to 9999 (regardless of the number of dependency levels) |
Comment by Dimitri Bellini [ 2019 Sep 26 ] |
@Aleksandrs Is not possible to have the limit number as a Zabbix_server parameter in the conf file? |
Comment by Alexey Asemov [ 2019 Sep 28 ] |
Actually, can't it be made configurable? Some people will surely hit the 9999 limit as well |
Comment by Andrejs Tumilovics [ 2019 Sep 30 ] |
Alex/AT We have raised the limit to 29999 dependent items. |
Comment by Glebs Ivanovskis [ 2019 Sep 30 ] |
atumilovics, you can say the same about Linux kernel limits, but nevertheless, they are configurable. |
Comment by Alexey Asemov [ 2019 Sep 30 ] |
Well, configurable limit cannot break Zabbix installations per se if it defaults to 999. It would actually be even safer, because only the ones who need it will change it from the 'old' default, heeding the appropriate warnings. |
Comment by Alexander Vladishev [ 2019 Oct 03 ] |
Updated documentation: |
Comment by Oleksii Zagorskyi [ 2019 Dec 09 ] |
I had a case when 29999 was not enough. I could not update LLD rule on "Template Module Linux block devices by Zabbix agent" template. |