]> granicus.if.org Git - icinga2/commitdiff
check_esxi_hardware.py with new --no-lcd parameter 5570/head
authorClaudio Kuenzler <ck@claudiokuenzler.com>
Tue, 12 Sep 2017 07:09:30 +0000 (09:09 +0200)
committerClaudio Kuenzler <ck@claudiokuenzler.com>
Tue, 12 Sep 2017 07:09:30 +0000 (09:09 +0200)
doc/10-icinga-template-library.md
itl/plugins-contrib.d/virtualization.conf

index 796cad892db1056e6110a9f76433cb302af194f1..6c070b25600fad6e11a7ba91171aeceb2175be3d 100644 (file)
@@ -2922,6 +2922,7 @@ esxi_hardware_novolts   | **Optional.** Do not collect voltage performance data,
 esxi_hardware_nocurrent | **Optional.** Do not collect current performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
 esxi_hardware_notemp    | **Optional.** Do not collect temperature performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
 esxi_hardware_nofan     | **Optional.** Do not collect fan performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
+esxi_hardware_nolcd     | **Optional.** Do not collect lcd/display status data. Defaults to false.
 
 #### VMware <a id="plugin-contrib-vmware"></a>
 
index 24c9d0d1a5e8d24905ae3ab442588bb44688842c..cb39cfbb3b47647db5bc66bc4057b67b145620e9 100644 (file)
@@ -73,6 +73,10 @@ object CheckCommand "esxi_hardware" {
                        set_if = "$esxi_hardware_nofan$"
                        description = "don't collect fan performance data"
                }
+               "--no-lcd" = {
+                       set_if = "$esxi_hardware_nolcd$"
+                       description = "don't collect lcd/display status data"
+               }
        }
 
        vars.esxi_hardware_host = "$address$"
@@ -83,5 +87,6 @@ object CheckCommand "esxi_hardware" {
        vars.esxi_hardware_nocurrent = false
        vars.esxi_hardware_notemp = false
        vars.esxi_hardware_nofan = false
+       vars.esxi_hardware_nolcd = false
 }