Ad Widget

Collapse

CPU Load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tek Chand
    Member
    • Mar 2019
    • 57

    #1

    CPU Load

    Hello Team,

    We are using Zabbix and its working fine. But i have some doubt that seems CPU Load trigger is not working as expected.

    Below is the trigger:

    {Template OS Linux:system.cpu.load[percpu,avg1].avg(2m)}>2

    As per above trigger the alert should be generate only if the CPU load is greater then 2 percpu for 2 minute continuously.

    But we are getting e-mail notification once CPU load touch the 2 and at very next moment its came down.

    Can you please let me know what changes we need to make at our end.

    Thanks.
  • brunohl
    Senior Member
    Zabbix Certified Specialist
    • Mar 2019
    • 215

    #2
    Could you share what appears on your latest 500 values?

    Also:
    {Template OS Linux:system.cpu.load[percpu,avg1].avg(2m)}>2

    As per above trigger the alert should be generate only if the CPU load is greater then 2 percpu for 2 minute continuously.
    That's not what is actually happening. You are using "avg" function, so your values doesn't have to be above 2 continuously to trigger your trigger. If the average value is more than two, it will trigger e.g. 2.1, 1.9, 2.4, 2.3, 1.9

    If you want the trigger to happen only if all the values are greater than 2, you should use:
    Code:
    {Template OS Linux:system.cpu.load[percpu,avg1].min(2m)}>2

    Comment

    • Tek Chand
      Member
      • Mar 2019
      • 57

      #3
      Hello Brunohi,

      Thank you

      Comment

      Working...