Ad Widget

Collapse

trigger expression is correct or not

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iftitutul
    Member
    • Sep 2017
    • 51

    #1

    trigger expression is correct or not

    item : Processor load (15 min average per core) system.cpu.load[percpu,avg15]

    1. trigger: {Template OS Linux:system.cpu.util[all,idle,avg15].avg(60m)}<1
    2. trigger: {Template OS Linux:system.cpu.load[all,avg5].avg(60m)}>( {Template OS Linux:system.cpu.num.last(0)}*3)

    kindly explain it. is this trigger correct?
  • Pitons
    Member
    • Oct 2017
    • 49

    #2
    Hi,
    What do you want to achieve?

    1. trigger looks for the average cpu idle value for 1hour period and if it is more than 1 it will fire.
    2. monitors average cpu load for 1hour and will fire if the value is more than 3*[number of cpus] (for example: if you have 2 cpu it will be evaluated against 6)

    and yes triggers looks ok.

    Comment

    Working...