[icinga-checkins] icinga.org: icinga-core/next: add a test case (refs #3324)

git at icinga.org git at icinga.org
Tue Oct 30 17:03:30 CET 2012


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

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Mon Oct 22 17:27:38 2012 +0200

add a test case (refs #3324)

---

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

diff --git a/tests/etc/3324.cfg b/tests/etc/3324.cfg
new file mode 100644
index 0000000..e11d947
--- /dev/null
+++ b/tests/etc/3324.cfg
@@ -0,0 +1,75 @@
+#############################################################################################
+# ICINGA TEST CONFIG BY ISSUES
+# (c) 2009-2012 Icinga Development Team and Community Contributors
+#
+# #3324
+# ido2db crashes when oracle queries dump too long output
+#############################################################################################
+
+define command {
+        command_name    		3324check_longoutput
+        command_line    		/usr/lib/nagios/plugins/check_dummy 0 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+
+}
+
+
+define host{
+        name                            3324linux-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                     	3324linux-server
+        host_name               	3324localhost
+        alias                   	3324localhost
+        address                 	127.0.0.1
+        address6                	::1
+        }
+
+
+define  service {
+        name                            3324generic-oracle-check
+        is_volatile                     0
+	check_command			3324check_longoutput
+        max_check_attempts              2
+        normal_check_interval           2
+        retry_check_interval            1
+        active_checks_enabled           1
+        passive_checks_enabled          1
+        check_period                    24x7
+        parallelize_check               1
+        obsess_over_service             1
+        check_freshness                 0
+        event_handler_enabled           1
+        flap_detection_enabled          1
+        process_perf_data               1
+        retain_status_information       1
+        retain_nonstatus_information    1
+        contact_groups                  abc
+        notification_interval           120
+        notification_period             24x7
+        notification_options            w,u,c,r,f
+        notifications_enabled           1
+        register                        0
+}
+
+define  service {
+        use                             3324generic-oracle-check
+        host_name                       3324localhost
+        contact_groups                 	testconfig-group-admin
+        service_description             3324ORACLE_LONG_OUTPUT
+}
+
+
+





More information about the icinga-checkins mailing list