From cfd7f1ff5ea61d5ed007fbf7c419756f7af25db7 Mon Sep 17 00:00:00 2001 From: Claudio Kuenzler Date: Tue, 12 Sep 2017 09:09:30 +0200 Subject: [PATCH] check_esxi_hardware.py with new --no-lcd parameter --- doc/10-icinga-template-library.md | 1 + itl/plugins-contrib.d/virtualization.conf | 5 +++++ 2 files changed, 6 insertions(+) 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 }