From ff33e0a7b87f67cbcc5002349c5e8e7c8e2ab602 Mon Sep 17 00:00:00 2001 From: Claudio Kuenzler Date: Fri, 1 Sep 2017 07:05:54 +0200 Subject: [PATCH] Debugging --no-lcd --- check_esxi_hardware.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_esxi_hardware.py b/check_esxi_hardware.py index 44d4ae8..7cd5b8d 100755 --- a/check_esxi_hardware.py +++ b/check_esxi_hardware.py @@ -793,7 +793,8 @@ for classe in ClassesToCheck : verboseoutput(" CurrentClockSpeed = %dMHz" % instance['CurrentClockSpeed']) # Append lcd related elements to ignore list if --no-lcd was used - if get_lcd: + verboseoutput("LCD Status: %s" % get_lcd) + if get_lcd == "True": ignore_list.append("System Board 1 LCD Cable Pres 0: Connected") ignore_list.append("System Board 1 VGA Cable Pres 0: Connected") ignore_list.append("Front Panel Board 1 FP LCD Cable 0: Connected")