Ad Widget

Collapse

Right Trigger Setup?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #1

    Right Trigger Setup?

    I'm trying to achieve this Trigger:
    When CPU Load is higher than 10 for the last 10 values -> trigger

    Now the question is what function to use and how?

    I tried:
    {testsys:system.cpu.load.max(#10)}>10

    Is this correct? Or will it trigger when just ONE value is higher than ten wihtin the last 10 values? and can ich use (#10) instead of just (10) for the last 10 values and not the last ten seconds?

    thanks in advance
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by welkin
    I'm trying to achieve this Trigger:
    When CPU Load is higher than 10 for the last 10 values -> trigger
    ...
    {testsys:system.cpu.load.max(#10)}>10
    This trigger will fire if any 1 item check for the last 10 iterations is above 10. Based on what you are describing, you would be better served by using;
    Code:
    {testsys:system.cpu.load.min(#10)}>10
    This will trigger if all 10 iterations are above 10.
    Unofficial Zabbix Developer

    Comment

    • tronite
      Senior Member
      • Jun 2007
      • 147

      #3
      Originally posted by James Wells
      Greetings,

      This trigger will fire if any 1 item check for the last 10 iterations is above 10. Based on what you are describing, you would be better served by using;
      Code:
      {testsys:system.cpu.load.min(#10)}>10
      This will trigger if all 10 iterations are above 10.
      Ahh... so you use the minimum. cool.

      Comment

      Working...