makemorebeer wrote: > but what i've noticed is that when the router clears the trap it sends the > exact same two trap notifications. is there a way to make these auto clear > or is this something that'll need to be manually cleared?
Could you clarify that a little? Do you mean it sends a snmptrap with the same OID when the problem is cleared? If so, is there any extra info sent with the trap or perhaps a threshold value we can use to determine if it's a problem trap or a clear trap? (Click the icon to the far right of the event in the events tab and then click the details tab). If the above is true you can create 2 event mappings with the same event class key (the OID you're getting the trap for), make sure they're the only ones under an sub class organiser as all traps in the same organiser seem to get cleared, and then add a different rule to each, examples: str(getattr(evt,'1.3.6.1.2.1.88.2.1.4.0')) == 'clear' str(getattr(evt,'1.3.6.1.2.1.88.2.1.4.0')) == 'error' getattr(evt,'1.3.6.1.2.1.88.2.1.4.0') > 15 getattr(evt,'1.3.6.1.2.1.88.2.1.4.0') <= 15 You may have to play around with those last 2, I wouldn't have expected you needed the str() functions on the first 2, but they're needed so you may need a similar thing for ints. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=21756#21756 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
