Skip to content

Instantly share code, notes, and snippets.

@dchenbecker
Created April 28, 2011 20:42
Show Gist options
  • Save dchenbecker/947293 to your computer and use it in GitHub Desktop.
Save dchenbecker/947293 to your computer and use it in GitHub Desktop.
ZenOSS transform attempt
if 'is down' in evt.message:
if evt.prodState == 501: #Pre-Populated
evt._action = 'drop'
if 'is up' in evt.message:
if evt.prodState == 501: #Pre-Populated
evt._action = 'status'
evt.severity = 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment