Merge pull request #5570 from Napsty/esxi-hardware-no-lcd

check_esxi_hardware.py with new --no-lcd parameter
This commit is contained in:
Michael Friedrich 2017-09-13 10:41:16 +02:00 committed by GitHub
commit c6f19d7e15
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
}