Ad Widget

Collapse

Simple - Create calculated Template with arit. op.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MacJeremy
    Junior Member
    • Apr 2017
    • 2

    #1

    Simple - Create calculated Template with arit. op.

    Heya all,

    I have a simple task but somehow I'm not getting anywhere.

    I want to create a simple calculated template with the following:
    proc.cpu.util / system.cpu.num

    I tried the following formulas:
    proc.cpu.util / system.cpu.num
    avg(proc.cpu.util / system.cpu.num)
    avg(proc.cpu.util) / avg(system.cpu.num)
    avg(proc.cpu.util) / last(system.cpu.num)
    last(proc.cpu.util) / last(system.cpu.num)
    last(proc.cpu.util / system.cpu.num)

    I get various errors like Cannot evaluate function "avg()" and various others.


    Both items have been declared as templates in the same group as this calculated template.

    If somebody is able just to give me a simple example of how to do this.

    Thanks.
  • MacJeremy
    Junior Member
    • Apr 2017
    • 2

    #2
    Solved:

    The formula last(proc.cpu.util) / last(system.cpu.num)

    is working now.

    Don't know why.

    Regards,
    MJ

    Comment

    Working...