mirror of
https://github.com/Napsty/check_esxi_hardware.git
synced 2024-11-22 02:13:46 +01:00
Add parameter (-S) for custom SSL/TLS protocol version
This commit is contained in:
parent
ca6858ab22
commit
a52c6a0b6c
@ -742,6 +742,9 @@ if vendor=='auto':
|
|||||||
sys.exit (ExitUnknown)
|
sys.exit (ExitUnknown)
|
||||||
else:
|
else:
|
||||||
verboseoutput("Unknown CIM Error: %s" % args)
|
verboseoutput("Unknown CIM Error: %s" % args)
|
||||||
|
except pywbem._exceptions.ConnectionError as args:
|
||||||
|
print("UNKNOWN: {}".format(args))
|
||||||
|
sys.exit (ExitUnknown)
|
||||||
except pywbem.cim_http.AuthError as arg:
|
except pywbem.cim_http.AuthError as arg:
|
||||||
verboseoutput("Global exit set to UNKNOWN")
|
verboseoutput("Global exit set to UNKNOWN")
|
||||||
GlobalStatus = ExitUnknown
|
GlobalStatus = ExitUnknown
|
||||||
@ -773,6 +776,9 @@ for classe in ClassesToCheck :
|
|||||||
sys.exit (ExitUnknown)
|
sys.exit (ExitUnknown)
|
||||||
else:
|
else:
|
||||||
verboseoutput("Unknown CIM Error: %s" % args)
|
verboseoutput("Unknown CIM Error: %s" % args)
|
||||||
|
except pywbem._exceptions.ConnectionError as args:
|
||||||
|
print("UNKNOWN: {}".format(args))
|
||||||
|
sys.exit (ExitUnknown)
|
||||||
except pywbem.cim_http.AuthError as arg:
|
except pywbem.cim_http.AuthError as arg:
|
||||||
verboseoutput("Global exit set to UNKNOWN")
|
verboseoutput("Global exit set to UNKNOWN")
|
||||||
GlobalStatus = ExitUnknown
|
GlobalStatus = ExitUnknown
|
||||||
|
Loading…
Reference in New Issue
Block a user