Ad Widget

Collapse

Escalation and how to define trigger for...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marc
    Senior Member
    • Oct 2004
    • 146

    #1

    Escalation and how to define trigger for...

    i want a trigger wich gets true if service is down for 5minutes. what can i do?
    min/max/avg tested but because iam testing services just all 60secs, all reporting to sensitive. whats the best way. item returns 1/0.

    also i read a post from alexei about escalation in 1.1. where do i find it?
  • schneck
    Member
    • May 2006
    • 62

    #2
    max(300)

    You can use the max() (or min(), if your test returns 0 when OK) functions:

    Code:
    {host:icmppingsec.max(#3)}=0.0
    the last 3 pings didn't work.

    Code:
    {host:icmppingsec.max(300)}=0.0
    the pings in the last 300 sec didn't work

    Comment

    • SLMitch
      Member
      • May 2006
      • 39

      #3
      But this system is a new trigger.

      We can't do a escaltion like:

      while TRIGGER is ON, make ACTION-1 every X min
      if ANY_TRIGGER is ON durring Y min, make ACTION-2
      if TRIGGER is OFF and ACTION-2 was MADE, make ACTION-3

      like in nagios

      I will prepared a patch for my 1st row of my algoritm

      Comment

      Working...