check_esxi_hardware.py with new --no-lcd parameter

This commit is contained in:
Claudio Kuenzler 2017-09-12 09:09:30 +02:00
parent a6741af73e
commit cfd7f1ff5e
2 changed files with 6 additions and 0 deletions

View 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>

View 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
}