[ZBXNEXT-2786] Sum up item values from one application Created: 2015 Apr 19  Updated: 2021 May 21  Resolved: 2021 May 21

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 2.4.4
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Stefan Hölzle Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: aggregate, applications, calculateditems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

My use case:
I want to track the CPU usage of serveral processes which use more e.g. 5% CPU.
Therefore I plotted the CPU usage of these processes in a stacked graph.
The stacked graph tells me about the CPU usage of the tracked processes, but all other processes are not monitored.
Thus I want add an item which sums all other processes. This is possible by creating a calculated item which subtracts the CPU usage of all tracked processes from the total cpu usage.
However if a new process is added to the tracked processes, one might easily forget to add the subtraction to the calculated item.

I suggest to add a feature which allows to sum up all items in application.
If this would be possible I could assign an application to all the tracked CPU proccess items and subtract the sum from the total CPU usage.
In this case the CPU usage of an additional process could be easily added be simply cloning one CPU usage item of an already tracked process. The application would be adopted by the cloned item and the graph would be adjusted automatically.

This feature would be much like grpsum, but for applications.



 Comments   
Comment by Alexei Vladishev [ 2021 May 21 ]

You can do it starting from Zabbix 5.4 by create a calculated item with filtering by item tags.

Generated at Sat Apr 27 03:30:39 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.