Ad Widget

Collapse

Calculating the maximum load of a processor core.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andrey.Gavenko
    Junior Member
    • Jun 2025
    • 4

    #1

    Calculating the maximum load of a processor core.

    Hello everyone!

    I'm using zabbix 7.2.
    The network device has several processors. My goal is to calculate the maximum and average load between the cores.
    Using LLD, I form an array with the key cpmCPUTotal1minRev.[].
    After that, in the template, an element cpmCPUmax1minRev of the "calculated" type is created with the formula:
    max(last_foreach(/MyTemplate/cpmCPUTotal1minRev.[*])).

    But as a result, I get an error:
    Cannot evaluate expression: no input data for function at "max(last_foreach(/MyTemplate/cpmCPUTotal1minRev.[*]))"

    What am I doing wrong? How can I solve this problem?

    Thank you!
  • Andrey.Gavenko
    Junior Member
    • Jun 2025
    • 4

    #2
    Hello everyone!

    If anyone finds it interesting or useful, here is the right way:
    formula: max(last_foreach(/{HOST.HOST}/cpmCPUTotal1minRev.[*]))

    Thank you!

    Comment

    Working...