Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

If any of these three event properties are not set state will not function well. 

Consider a case where the element property is not set; thus being null.  In this case if a 'port down' for gig0/0 was received a 'port up' for gig0/1 would clear the g0/0 'port down' event.  Without the element being set opEvents cannot differentiate between interfaces.

 

Example parser rule for the element property.

Code Block
                                53 => {
                                        IF => qr/IF-MIB::ifIndex\.\d+=(\d+)/,
                                        THEN => ["capture(element)"],
                                },

Example parser rule for the stateful property

...