[icinga-checkins] icinga.org: icinga-core/test/cgis: add testcase for multiple parents problem in #2520

git at icinga.org git at icinga.org
Sat Oct 27 15:36:30 CEST 2012


Module: icinga-core
Branch: test/cgis
Commit: b4e44824a3123992d773fc6cc1169d2138c81059
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=b4e44824a3123992d773fc6cc1169d2138c81059

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Thu Oct  4 16:09:10 2012 +0200

add testcase for multiple parents problem in #2520

---

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

diff --git a/tests/etc/2520.cfg b/tests/etc/2520.cfg
new file mode 100644
index 0000000..45a9fe5
--- /dev/null
+++ b/tests/etc/2520.cfg
@@ -0,0 +1,47 @@
+#############################################################################################
+# ICINGA TEST CONFIG BY ISSUES
+# (c) 2009-2012 Icinga Development Team and Community Contributors
+#
+# #2520 (cgis, web)
+# status map, multiple parents problem in icinga web
+#############################################################################################
+
+define host{
+        name                            2520linux-server
+        use                             generic-host
+        check_period                    24x7
+        check_interval                  5
+        retry_interval                  1
+        max_check_attempts              10
+        check_command                   testconfig-check-host-alive
+        notification_period             workhours
+        notification_interval           120
+        notification_options            d,u,r
+        contact_groups                  testconfig-group-admin
+        register                        0
+}
+
+
+define host{
+        use                     	2520linux-server            ; Name of host template to use
+        host_name               	2520localhost-test
+        alias                   	2520localhost-test
+        address                 	127.0.0.1
+	parents				2520localhost-test-p1,2520localhost-test-p2
+}
+
+define host{
+        use                     	2520linux-server            ; Name of host template to use
+        host_name               	2520localhost-test-p1
+        alias                   	2520localhost-test-p1
+        address                 	127.0.0.1
+        }
+
+define host{
+        use                     	2520linux-server            ; Name of host template to use
+        host_name               	2520localhost-test-p2
+        alias                   	2520localhost-test-p2
+        address                 	127.0.0.1
+}
+
+





More information about the icinga-checkins mailing list