Ad Widget

Collapse

Creating a trigger to send email when switch interface utilizes 80% of it's bandwidth

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guyyanai
    Junior Member
    • Aug 2019
    • 2

    #1

    Creating a trigger to send email when switch interface utilizes 80% of it's bandwidth

    I'm trying to create a trigger which will show me a problem and alert me on my email whenever an interface (doesn't matter which, the trigger should check every single interface) in a cisco switch (with snmpv2) crosses 80% of it's bandwidth (100 mbps or 1000 mbps) without hardcoding anything by an automated function, I tried using this trigger expression:

    {/switch name:net.if.out[ifHCOutOctets./switch interface].min(10)}>80000000

    I would like to know how can I write this trigger expression which works fine without applying it to every single interface item in every switch. Thanks in advance.
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    I think the easiest way are an item and trigger prototype. I never implemented one by myself, but there are some in the default templates.
    Check the default template Template Module Interfaces SNMPv2 discovery

    Comment

    • guyyanai
      Junior Member
      • Aug 2019
      • 2

      #3
      Hi, Thanks for the reply, I was already able to solve this issue with the help of stack overflow members, the discussion is here: https://stackoverflow.com/questions/...70580#57570580

      Comment

      Working...