ITL: Add CIM port parameter for esxi_hardware CheckCommand

fixes #11869

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
Claudio Kuenzler 2016-05-31 08:24:28 +02:00 committed by Michael Friedrich
parent 8b742e841f
commit f125cdf595
2 changed files with 6 additions and 0 deletions

View File

@ -2260,6 +2260,7 @@ Name | Description
esxi_hardware_host | **Required.** Specifies the host to monitor. Defaults to "$address$".
esxi_hardware_user | **Required.** Specifies the user for polling. Must be a local user of the root group on the system. Can also be provided as a file path file:/path/to/.passwdfile, then first string of file is used.
esxi_hardware_pass | **Required.** Password of the user. Can also be provided as a file path file:/path/to/.passwdfile, then second string of file is used.
esxi_hardware_port | **Optional.** Specifies the CIM port to connect to. Defaults to 5989.
esxi_hardware_vendor | **Optional.** Defines the vendor of the server: "auto", "dell", "hp", "ibm", "intel", "unknown" (default).
esxi_hardware_html | **Optional.** Add web-links to hardware manuals for Dell servers (use your country extension). Only useful with **esxi_hardware_vendor** = dell.
esxi_hardware_ignore | **Optional.** Comma separated list of elements to ignore.

View File

@ -35,6 +35,10 @@ object CheckCommand "esxi_hardware" {
value = "$esxi_hardware_pass$"
description = "password"
}
"-C" = {
value = "$esxi_hardware_port$"
description = "cim port"
}
"-V" = {
value = "$esxi_hardware_vendor$"
description = "Vendor code: auto, dell, hp, ibm, intel, or unknown"
@ -74,6 +78,7 @@ object CheckCommand "esxi_hardware" {
}
vars.esxi_hardware_host = "$address$"
vars.esxi_hardware_port = 5989
vars.esxi_hardware_perfdata = false
vars.esxi_hardware_nopower = false
vars.esxi_hardware_novolts = false