[ZBXNEXT-1829] need new type of calculated item: highest/lowest/etc value from a set of other items Created: 2013 Jul 22  Updated: 2021 May 17  Resolved: 2021 May 17

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Documentation (D), Server (S)
Affects Version/s: 2.0.6
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Duplicate Votes: 15
Labels: aggregate, calculateditems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

I hope it's not a dupe of another ZBXNEXT

I currently gather CPU usage across each CPU core on a set of hosts (or many cores on a single host), and we need some way to gather the highest single value across these items within each individual host (individual core on single host).

Aggregate and calculated are not able to satisfy this requirements.

I'm basically looking to create an item that looks something like:
highest_single_value(system.cpu.util[0],system.cpu.util[1],system.cpu.util[2],system.cpu.util[3])
lowest_single_value(...)
etc (maybe)

keywords : minimum maximum min max



 Comments   
Comment by richlv [ 2013 Jul 22 ]

'aggregate' that works on wildcarded item keys on a host might work. we might have feature request for that, but i can't recall one right now

edit : wildcards in aggregate items is ZBXNEXT-1521

Comment by Mārcis Lielturks [ 2016 Nov 09 ]

Something along same lines would allow to have calculated item, which sums all items from same host, for example, sum of network port utilization for switch/router. Currently it requires one to manually create calculated item, and I see no way of creating template (unless particular device has SNMP OIDs for aggregated throughput, but then, I presume, it is device/model specific and can't be applied universally).

Comment by Glebs Ivanovskis (Inactive) [ 2016 Nov 09 ]

Some sort of generalization of this idea is available for discussion in ZBXNEXT-3446.

Comment by Mārcis Lielturks [ 2016 Nov 10 ]

This is now off topic, sorry, but if anyone else is searching for same functionality as I, see ZBXNEXT-1420.

Comment by Glebs Ivanovskis (Inactive) [ 2017 Mar 08 ]

Dear zalex_ua, will you agree that this is a duplicate of ZBXNEXT-1420? It does not ask for highest/lowest/... explicitly, but where is sum(...), there max(...), min(...), avg(...) and others come very naturally.

Comment by Alexei Vladishev [ 2021 May 17 ]

This functionality was implemented in Zabbix 5.4 as part of new syntax for trigger expressions, calculated and aggregate items. I close this ticket.

Generated at Thu Apr 25 07:54:58 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.