Ad Widget

Collapse

how to add timing period before activate a trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magician
    Junior Member
    • Mar 2013
    • 11

    #1

    how to add timing period before activate a trigger

    Hi all ,

    ive installed template of netapp , and in the cpu load key i want to add time to the trigger

    meaning if the cpu is > 60% for 5 minutes
    here is the trigger itself :
    "{Template NetApp:netapp.cpu.busy.last(0)}>60"
    what do i need to add/modify to make a timer of 5 minutes - i understood i need to replace last with nodata but couldnt figure how to make the 60% with the nodata option .
  • unity
    Junior Member
    • Mar 2013
    • 3

    #2
    Someone probably has a fancy way of doing it. You can always sum them like this:

    "{Template NetApp:netapp.cpu.busy.sum(#5)}>300


    That #5 is add the last 5 obeservations. If that is greater than 300 (5*60) then fire the trigger. This assumes you poll every minute. If you are doing it more frequently your #5 and the 300 need to increase accordingly.

    Comment

    • heaje
      Senior Member
      Zabbix Certified Specialist
      • Sep 2009
      • 325

      #3
      Another way would be to use the min() function instead of last(). Just replace last(0) with min(300) to have the trigger go off when the min value for the last week 300 seconds is greater than 60.

      Comment

      Working...