From: Claudio Kuenzler Date: Tue, 12 Sep 2017 07:09:30 +0000 (+0200) Subject: check_esxi_hardware.py with new --no-lcd parameter X-Git-Tag: v2.8.0~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfd7f1ff5ea61d5ed007fbf7c419756f7af25db7;p=icinga2 check_esxi_hardware.py with new --no-lcd parameter --- diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 796cad892..6c070b256 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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 diff --git a/itl/plugins-contrib.d/virtualization.conf b/itl/plugins-contrib.d/virtualization.conf index 24c9d0d1a..cb39cfbb3 100644 --- a/itl/plugins-contrib.d/virtualization.conf +++ b/itl/plugins-contrib.d/virtualization.conf @@ -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 }