Ad Widget

Collapse

{ICMP Ping:icmpping.max(#NUMBER OF ATTEMPS)}=0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbuyukkarakas
    Member
    • Aug 2014
    • 49

    #1

    {ICMP Ping:icmpping.max(#NUMBER OF ATTEMPS)}=0

    Hello all,

    I want to use different trigger calculations with different hosts. Some of them should warn me when the number of pings returned timeout are 5, some of them in case of 10 attemps etc.
    I defined a macro but I cant use it in the trigger expression

    Basically I want to do something with user macro instead of this below ;
    {ICMP Ping:icmpping.max(#20)}=0
    .
    like
    {ICMP Ping:icmpping.max(#{NUMBER_OF_ATTEMPS})}=0
    ,
    Thank you.
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    {ICMP Ping:icmpping.max({$NUMBER_OF_ATTEMPS})}=0
    {$NUMBER_OF_ATTEMPS} => #20

    Comment

    • mbuyukkarakas
      Member
      • Aug 2014
      • 49

      #3
      Originally posted by Semiadmin
      {ICMP Ping:icmpping.max({$NUMBER_OF_ATTEMPS})}=0
      {$NUMBER_OF_ATTEMPS} => #20
      Thank you for your response. I will try it asap.

      Comment

      Working...