Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- match = re.search('threshold of PassportPower status exceeded: current value 4.00', evt.message)
- if match and device:
- evt.summary = "PowerSupply Operational Status: Present, but failure indicated."
- evt.severity = 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement