Advertisement
rebelinux

Transform of PassportPower

Jan 9th, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import re
  2. match = re.search('threshold of PassportPower status exceeded: current value 4.00', evt.message)
  3. if match and device:
  4.     evt.summary = "PowerSupply Operational Status: Present, but failure indicated."
  5.     evt.severity = 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement