Ad Widget

Collapse

Problem with trigger cpu-load on linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • knumskull
    Junior Member
    • Oct 2009
    • 3

    #1

    Problem with trigger cpu-load on linux

    Hi,

    the trigger

    {Template_Linux:system.cpu.load[,avg1].last(0)}>10

    always triggers my system.

    Is it possible to change this Trigger like this?

    {Template_Linux:system.cpu.load[,avg1].last(0)}>cpu.num[]*2

    My problem is, that there are machines with 64 Cores and there is a load of 64 normal. But there are also machines with 4, 8 or 16 Cores.

    Is there a solution?

    best regards,
    steffen
  • dotneft
    Senior Member
    • Nov 2008
    • 699

    #2
    {Template_Linux:system.cpu.load[,avg1].last(0)}>{Template_Linux:system.cpu.num[].last(0)}*2

    Comment

    • knumskull
      Junior Member
      • Oct 2009
      • 3

      #3
      special thanks. It seems to work.

      regards

      Comment

      Working...