Hello everyone!
So, i'm new to Zabbix and i'm trying to do some stuff that goes beyong my knowledge.
I have a template that works with a CPU MIB (A.K.A. HOST-RESOURCES-MIB, which seems very popular around), and as you may know, it collects the information about a single core at a time.
Well, it's easy to collect them all, using LLD and a single template, which gave me 0 trouble.
But that doesn't fit me, i need the mean value of the CPU, which would be something like "(Core1 + Core 2 + .. + Core N)/N".
Seems pretty easy so far, but i have no idea on how to do this at Zabbix, i have no Macro or function at the calculated item and i have no idea on how to "sum" N itens of the same host and divide it by N, i have no loop structure or anything like it.
So, i tried to check on the internet for a long time, but unable to find answers.
Can anyone give me a hint? I'm struggling!
Thanks!
So, i'm new to Zabbix and i'm trying to do some stuff that goes beyong my knowledge.
I have a template that works with a CPU MIB (A.K.A. HOST-RESOURCES-MIB, which seems very popular around), and as you may know, it collects the information about a single core at a time.
Well, it's easy to collect them all, using LLD and a single template, which gave me 0 trouble.
But that doesn't fit me, i need the mean value of the CPU, which would be something like "(Core1 + Core 2 + .. + Core N)/N".
Seems pretty easy so far, but i have no idea on how to do this at Zabbix, i have no Macro or function at the calculated item and i have no idea on how to "sum" N itens of the same host and divide it by N, i have no loop structure or anything like it.
So, i tried to check on the internet for a long time, but unable to find answers.
Can anyone give me a hint? I'm struggling!
Thanks!
Comment