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