Skip to content

Instantly share code, notes, and snippets.

@nerdalertdk
Created August 19, 2016 22:59
Show Gist options
  • Save nerdalertdk/eb4621101365a95505a5d304c76377fe to your computer and use it in GitHub Desktop.
Save nerdalertdk/eb4621101365a95505a5d304c76377fe to your computer and use it in GitHub Desktop.
# HP RAID CHECK
if classe == "VMware_StorageVolume" :
if 'Interim Recovery' in elementName:
verboseoutput("GLobal exit set to CRITICAL")
GlobalStatus = ExitCritical
ExitMsg += " CRITICAL : %s " % elementNameValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment