Skip to content

Instantly share code, notes, and snippets.

@dpetzel dpetzel/gist:1885659
Created Feb 22, 2012

Embed
What would you like to do?
if device:
if device.getSnmpStatusString() != "Up":
#Preserve the actual SNMP agent down message
if getattr(evt, "summary", "") != "SNMP agent down":
evt._action = "drop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.