From: chrostek <sebastian@chrostek.net>
Date: Thu, 26 Jul 2018 18:41:56 +0000 (+0200)
Subject: Add exclude/include to vmware-esx-soap-host-runtime
X-Git-Tag: v2.10.0~84^2~1
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44efa90e47f760e69d7713eb890f6178424fdf0b;p=icinga2

Add exclude/include to vmware-esx-soap-host-runtime
---

diff --git a/itl/plugins-contrib.d/vmware.conf b/itl/plugins-contrib.d/vmware.conf
index 2663ca5e2..8e6c1061f 100644
--- a/itl/plugins-contrib.d/vmware.conf
+++ b/itl/plugins-contrib.d/vmware.conf
@@ -686,6 +686,11 @@ object CheckCommand "vmware-esx-soap-host-runtime" {
 
 	arguments += {
 		"--select" = "runtime"
+		"--exclude" = "$vmware_exclude$"
+		"--include" = "$vmware_include$"
+		"--isregexp" = {
+			set_if = "$vmware_isregexp$"
+		}
 	}
 }