Ad Widget

Collapse

icmpping trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chaouki
    Junior Member
    • Nov 2011
    • 10

    #1

    icmpping trigger

    Hello everyone,

    I have a problem with icmpping trigger.
    I can not create an expression that allows me to initiate a trigger when a host does not respond to ICMP requests more than 2 times. It should not be alert if there is only one icmp packet loss.

    my item is configured:
    Description : Ping to the server (TCP)
    Key : icmpping
    Interval : 60
    Type : Simple check

    Here's my attempt at expression:
    - {equipement:icmpping.sum(#2)}= 0 & {equipement:icmpping.last(0)}> 2
    - {equipement:icmpping.sum(#5)}=2
    - {equipement:icmpping.last(0)}=2
    - {equipement:icmpping.last(0)} > 2


    Thank you very much for your help.

    Regards,

    chaouki.
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #2
    try count(#3,0)}>2 --> more than 2 out of the 3 last values!

    Greets
    Patrick

    Comment

    • chaouki
      Junior Member
      • Nov 2011
      • 10

      #3
      Thank you for your proposed solution.
      I managed with the following expression:
      equipement:icmpping.sum(#2)}=0 | ({TRIGGER.VALUE}=1 &{equipement:icmpping.sum(#5)}#5)

      But I'm stuck in another case:
      I want to create a trigger when I get five consecutive negative responses. The alarm works well but it creates a second and third and so on.
      Equipment: icmpping.sum (#5)=0} | ({} = 1 & TRIGGER.VALUE {equipment: icmpping.sum (# 5)} # 5)

      Do you know how to configure receive only one that increments?

      Thanks !

      Comment

      Working...