ITL: vmware: support --no_vm_tools_ok

This commit is contained in:
Alexander A. Klimov 2022-12-13 18:08:01 +01:00
parent 9902f9b88f
commit 726db57c6c
2 changed files with 8 additions and 0 deletions

View File

@ -3947,6 +3947,7 @@ vmware_include | **Optional.** Whitelist VMs. No value defined as defau
vmware_isregexp | **Optional.** Treat blacklist and whitelist expressions as regexp. 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_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. vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
vmware_novmtools | **Optional** Prevent CRITICAL state for missing VMware tools.
**vmware-esx-soap-host-check** **vmware-esx-soap-host-check**
@ -5697,6 +5698,7 @@ vmware_username | **Optional.** The username to connect to Host or vCent
vmware_password | **Optional.** The username's password. 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> **Authentication file content:** <br> username=vmuser <br> password=p@ssw0rd vmware_authfile | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br> username=vmuser <br> password=p@ssw0rd
vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools. vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
vmware_novmtools | **Optional** Prevent CRITICAL state for missing VMware tools.
**vmware-esx-soap-vm-runtime-issues** **vmware-esx-soap-vm-runtime-issues**

View File

@ -240,6 +240,9 @@ object CheckCommand "vmware-esx-dc-runtime-tools" {
"--open_vm_tools_ok" = { "--open_vm_tools_ok" = {
set_if = "$vmware_openvmtools$" set_if = "$vmware_openvmtools$"
} }
"--no_vm_tools_ok" = {
set_if = "$vmware_novmtools$"
}
} }
} }
@ -1145,6 +1148,9 @@ object CheckCommand "vmware-esx-soap-vm-runtime-tools" {
"--open_vm_tools_ok" = { "--open_vm_tools_ok" = {
set_if = "$vmware_openvmtools$" set_if = "$vmware_openvmtools$"
} }
"--no_vm_tools_ok" = {
set_if = "$vmware_novmtools$"
}
} }
} }