[icinga-checkins] icinga.org: icinga-core/next: Icinga2: add a testcase for service with multiple templates

git at icinga.org git at icinga.org
Mon Apr 29 21:07:20 CEST 2013


Module: icinga-core
Branch: next
Commit: 55dee615906171e2f609be09ca48b476dc618263
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=55dee615906171e2f609be09ca48b476dc618263

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 21:06:49 2013 +0200

Icinga2: add a testcase for service with multiple templates

refs #2743

---

 tests/etc/2743.cfg |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/tests/etc/2743.cfg b/tests/etc/2743.cfg
index 5202048..2ab5162 100644
--- a/tests/etc/2743.cfg
+++ b/tests/etc/2743.cfg
@@ -218,6 +218,35 @@ define service {
 }
 
 ##############################################
+# service templates with services and multiuse
+##############################################
+define service {
+        name                            2743template02
+        host_name                       2743localhost1
+        check_command                   2743test2
+        use                             generic-service
+	retry_interval			20
+        register                        0
+}
+
+define service {
+        name                            2743template03
+        host_name                       2743localhost2
+	check_interval			30
+        check_command                   2743test2
+        use                             generic-service
+        register                        0
+}
+
+
+define service {
+        service_description             2743servicewithmultipletemplates
+        use                             2743template02,2743template03
+        host_name                       2743localhost1
+}
+
+
+##############################################
 # services 
 ##############################################
 define service {





More information about the icinga-checkins mailing list