From 3566f03ecb38b3205915747041a7579b101ca07e Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Tue, 24 Jan 2017 18:06:35 +0000 Subject: [PATCH] SPaG --- check_esxi_hardware.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_esxi_hardware.py b/check_esxi_hardware.py index 1daebb2..6a7400a 100755 --- a/check_esxi_hardware.py +++ b/check_esxi_hardware.py @@ -808,11 +808,11 @@ for classe in ClassesToCheck : 30 : ExitCritical, # Non-recoverable Error }[elementStatus] if (interpretStatus == ExitCritical) : - verboseoutput("GLobal exit set to CRITICAL") + verboseoutput("Global exit set to CRITICAL") GlobalStatus = ExitCritical ExitMsg += " CRITICAL : %s " % elementNameValue if (interpretStatus == ExitWarning and GlobalStatus != ExitCritical) : - verboseoutput("GLobal exit set to WARNING") + verboseoutput("Global exit set to WARNING") GlobalStatus = ExitWarning ExitMsg += " WARNING : %s " % elementNameValue # Added the following for when GlobalStatus is ExitCritical and a warning is detected @@ -863,7 +863,7 @@ for classe in ClassesToCheck : GlobalStatus = ExitCritical ExitMsg += " CRITICAL : %s " % elementNameValue if (interpretStatus == ExitWarning and GlobalStatus != ExitCritical) : - verboseoutput("GLobal exit set to WARNING") + verboseoutput("Global exit set to WARNING") GlobalStatus = ExitWarning ExitMsg += " WARNING : %s " % elementNameValue # Added same logic as in 20100702 here, otherwise Dell servers would return UNKNOWN instead of OK