Ad Widget

Collapse

Calculated item and last fonction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xavier.g
    Junior Member
    • Oct 2016
    • 1

    #1

    Calculated item and last fonction

    Hello,

    I run zabbix 3.2

    I tried to change zabbix agent : "CPU Util" to a calculated item : "CPU Util per core"

    i have 4 core so i used :
    - key : proc.cpu.util
    - formula : last("proc.cpu.util")/4

    but it this doesnt work and the item ends up with the value "0% "

    i tried some other calculated items and when to the conclusion that with last("proc.cpu.util") calls the last value of "CPU Util" instead of the last value of "proc.cpu.util".

    Is this the normal behaviour? I manage to do what i wanted with a zabbix agent item to retreave the "proc.cpu.util" value and a calculated item to use this value. But i don't find this very clean, and i didn't found the documentation exemple very explicit for what i wanted to do.

    thanks in advance for your help.
Working...