[icinga-checkins] icinga.org: icinga-core/test/core: add test case refs #2688

git at icinga.org git at icinga.org
Mon Nov 5 14:33:38 CET 2012


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

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Tue Oct 30 21:12:47 2012 +0100

add test case refs #2688

---

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

diff --git a/tests/etc/2688.cfg b/tests/etc/2688.cfg
new file mode 100644
index 0000000..4392348
--- /dev/null
+++ b/tests/etc/2688.cfg
@@ -0,0 +1,59 @@
+#############################################################################################
+# ICINGA TEST CONFIG BY ISSUES
+# (c) 2009-2012 Icinga Development Team and Community Contributors
+#
+# #2688 
+# triggered downtimes for child hosts are missing after icinga restart
+#############################################################################################
+
+define host{
+        name                            2688linux-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                     	2688linux-server            ; Name of host template to use
+        host_name               	2688localhost-test
+        alias                   	2688localhost-test
+        address                 	127.0.0.1
+        action_url              	http://wiki/.../SvcView?hostgroup=$HOSTGROUPNAME$&hostname=$HOSTNAME$
+}
+
+define host{
+        use                     	2688linux-server            ; Name of host template to use
+        host_name               	2688localhost-test-p1
+        alias                   	2688localhost-test-p1
+        address                 	127.0.0.1
+        action_url              	http://wiki/.../SvcView?hostgroup=$HOSTGROUPNAME$&hostname=$HOSTNAME$
+        parents                 	2688localhost-test
+        }
+
+define host{
+        use                     	2688linux-server            ; Name of host template to use
+        host_name               	2688localhost-test-p2
+        alias                   	2688localhost-test-p2
+        address                 	127.0.0.1
+        action_url              	http://wiki/.../SvcView?hostgroup=$HOSTGROUPNAME$&hostname=$HOSTNAME$
+        parents                 	2688localhost-test
+}
+
+define host{
+        use                     	2688linux-server            ; Name of host template to use
+        host_name               	2688localhost-test-p1-2
+        alias                   	2688localhost-test-p1-2
+        address                 	127.0.0.1
+        action_url              	http://wiki/.../SvcView?hostgroup=$HOSTGROUPNAME$&hostname=$HOSTNAME$
+        parents                 	2688localhost-test-p1
+}
+





More information about the icinga-checkins mailing list