From 1a0d5e4a3149c9569841e02a228153c228d5a853 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Wed, 26 Aug 2015 09:11:56 +0200 Subject: [PATCH] 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 --- doc/7-icinga-template-library.md | 2 ++ itl/plugins-contrib.d/vmware.conf | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 4098e8e86..b7e6a04f0 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -2075,6 +2075,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 **\** for the GUI. No value defined as default. +vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools. ## vmware-esx-soap-host-check @@ -3774,6 +3775,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
**Autentication file content:**
username=vmuser
password=p@ssw0rd +vmware_openvmtools | **Optional** Prevent CRITICAL state for installed and running Open VM Tools. ## vmware-esx-soap-vm-runtime-issues diff --git a/itl/plugins-contrib.d/vmware.conf b/itl/plugins-contrib.d/vmware.conf index f26127f91..92febafee 100644 --- a/itl/plugins-contrib.d/vmware.conf +++ b/itl/plugins-contrib.d/vmware.conf @@ -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$" + } } }