Ad Widget

Collapse

Simple ping check with triger on 3 match

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregober
    Junior Member
    • Jan 2009
    • 6

    #1

    Simple ping check with triger on 3 match

    Hello,

    I am trying to figure out how to triger an alert when ping fails more than three time for a given host…

    I would like to know if this will be ok or not?

    {host :icmpping. count( 3,0 ) }=3


    My simple goal is to trigger the alert if the answer is positive more than three times in a row. Positive beeing "I can not ping host" = 0.

    If there is more simple or straightforward way of doing that, I am ok to learn ;-)


    Thanks
  • ashuji
    Member
    • Dec 2008
    • 35

    #2
    Originally posted by gregober
    Hello,

    I am trying to figure out how to triger an alert when ping fails more than three time for a given host…

    I would like to know if this will be ok or not?

    {host :icmpping. count( 3,0 ) }=3


    My simple goal is to trigger the alert if the answer is positive more than three times in a row. Positive beeing "I can not ping host" = 0.

    If there is more simple or straightforward way of doing that, I am ok to learn ;-)


    Thanks

    Hi

    Please try the below formula:

    {host :icmpping.count(#3,1)}<1

    This formula says, turn ON trigger if count of '1' (success) is less than 3 in last 3 attempts.

    Regards

    Ashwani Jain

    Comment

    • gregober
      Junior Member
      • Jan 2009
      • 6

      #3
      The answer that you gave me could not be applied.

      I had a closer look at the suggested format, and I think what I want ist that:

      {host:icmpping.avg(#3)}=0

      This means that the average of the last three "ping check" = 0

      I think this is what I want…*

      Comment

      • ashuji
        Member
        • Dec 2008
        • 35

        #4
        Both are OK

        Hi,

        I believe both are OK.

        Comment

        Working...