Ad Widget

Collapse

Action trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fege
    Member
    • Dec 2008
    • 34

    #1

    Action trigger

    when trigger on, i have created an action which sent mail, in this mail i would have the value which have caused the trigger
    e.g. trigger on if bandwithIn > 2,5Mb, i would know which value is more than 2,5Mb
  • tighep
    Senior Member
    • Dec 2007
    • 124

    #2
    Honestly, look at the documentation, there's a lot to learn, specifically start at page 88. You'll probably end up looking for {TRIGGER.KEY}.

    Comment

    • fege
      Member
      • Dec 2008
      • 34

      #3
      with {TRIGGER.KEY} I have ifInOctects.14 not the corresponding value

      Comment

      • tighep
        Senior Member
        • Dec 2007
        • 124

        #4
        If I understand correctly, you're looking for the actual value from the trigger?

        If so, then {{HOSTNAME}:{TRIGGER.KEY}.last(0)} should provide that actual value for the last check. Let me know if that isn't what you're looking for.

        Comment

        • fege
          Member
          • Dec 2008
          • 34

          #5
          it is exactly what I'm looking for.
          Here (Milan) are the 11.30 pm tomorrow I try what I have just suggested

          Comment

          • fege
            Member
            • Dec 2008
            • 34

            #6
            this is my trigger expression
            {firewall:ifInOctects.17. last( 0 ) }+{firewall:ifInOctets.15. last( 0 ) }+{firewall:ifInOctets.12. last( 0 ) }+{firewall:ifInOctects.9. last( 0 ) }+{firewall:ifInOctects.14. last( 0 ) }>2500000

            i would know the exactly value of this

            Comment

            • fege
              Member
              • Dec 2008
              • 34

              #7
              with
              {{HOSTNAME}:{TRIGGER.KEY}.last(0)}

              i have only the value of {firewall:ifInOctects.14. last( 0 ) }

              what can i do to have the other value?

              Comment

              • fege
                Member
                • Dec 2008
                • 34

                #8
                can anyone help me?

                Comment

                Working...