Add new argument vmware_openvmtools to check commands vmware-esx-dc-runtime-tools and vmware-esxi-soap-vm-runtime-tools

fixes #9996

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
Lennart Betz 2015-08-26 09:11:56 +02:00 committed by Gunnar Beutner
parent b6eb621d30
commit e5f7c380ba
2 changed files with 8 additions and 0 deletions

View File

@ -2085,6 +2085,7 @@ vmware_exclude | **Optional.** Blacklist VMs. No value defined as defau
vmware_include | **Optional.** Whitelist VMs. No value defined as default.
vmware_isregexp | **Optional.** Treat blacklist and whitelist expressions as regexp.
vmware_multiline | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
## <a id="plugins-contrib-vmware-esx-soap-host-check"></a> vmware-esx-soap-host-check
@ -3784,6 +3785,7 @@ vmware_nosession | **Optional.** No auth session - IT SHOULD BE USED FOR
vmware_username | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
vmware_password | **Optional.** The username's password. No value defined as default.
vmware_authfile | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Autentication file content:** <br> username=vmuser <br> password=p@ssw0rd
vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
## <a id="plugins-contrib-vmware-esx-soap-vm-runtime-issues"></a> vmware-esx-soap-vm-runtime-issues

View File

@ -251,6 +251,9 @@ object CheckCommand "vmware-esx-dc-runtime-tools" {
"--alertonly" = {
set_if = "$vmware_alertonly$"
}
"--open-vm-tools" = {
set_if = "$vmware_openvmtools$"
}
}
}
@ -1140,6 +1143,9 @@ object CheckCommand "vmware-esx-soap-vm-runtime-tools" {
arguments += {
"--select" = "runtime"
"--subselect" = "tools"
"--open-vm-tools" = {
set_if = "$vmware_openvmtools$"
}
}
}