diff --git a/check_esxi_hardware.py b/check_esxi_hardware.py index 6a7400a..5213db4 100755 --- a/check_esxi_hardware.py +++ b/check_esxi_hardware.py @@ -646,7 +646,7 @@ if vendor=='auto': sys.exit (ExitUnknown) elif ( args[1].find('ThreadPool --- Failed to enqueue request') >= 0 ): print "UNKNOWN: %s" %args - sys.exit (ExitUnknown) + sys.exit (ExitUnknown) else: verboseoutput("Unknown CIM Error: %s" % args) except pywbem.cim_http.AuthError,arg: @@ -675,6 +675,9 @@ for classe in ClassesToCheck : if ( args[1].find('Socket error') >= 0 ): print "UNKNOWN: %s" %args sys.exit (ExitUnknown) + elif ( args[1].find('ThreadPool --- Failed to enqueue request') >= 0 ): + print "UNKNOWN: %s" %args + sys.exit (ExitUnknown) else: verboseoutput("Unknown CIM Error: %s" % args) except pywbem.cim_http.AuthError,arg: