[icinga-checkins] icinga.org: icinga-core/r1.8: add a test case for #3064 ( process_perf_data evaluation in icinga-web)

git at icinga.org git at icinga.org
Fri Oct 5 10:05:23 CEST 2012


Module: icinga-core
Branch: r1.8
Commit: 591283714200e4a7905c4a09e84f4c8f5146e318
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=591283714200e4a7905c4a09e84f4c8f5146e318

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Thu Oct  4 22:14:49 2012 +0200

add a test case for #3064 (process_perf_data evaluation in icinga-web)

---

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

diff --git a/tests/etc/3064.cfg b/tests/etc/3064.cfg
new file mode 100644
index 0000000..cbdbe8f
--- /dev/null
+++ b/tests/etc/3064.cfg
@@ -0,0 +1,73 @@
+#############################################################################################
+# ICINGA TEST CONFIG BY ISSUES
+# (c) 2009-2012 Icinga Development Team and Community Contributors
+#
+# #3064 (web)
+# process_perf_data=0 not evaluated in icinga web
+#############################################################################################
+
+define host{
+        name                            3064linux-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
+	process_perf_data		0
+}
+
+
+define host{
+        use                     	3064linux-server            ; Name of host template to use
+        host_name               	3064localhost-test
+        alias                   	3064localhost-test
+        address                 	127.0.0.1
+}
+
+
+define command {
+        command_name                    3064check_dummy
+        command_line                    /usr/lib/nagios/plugins/check_dummy 2 "foobaer 3064 | count=$TIMET$"
+}
+
+
+
+define  service {
+        name                            3064generic-check
+        is_volatile                     0
+        check_command                   3064check_dummy
+        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
+	process_perf_data		0
+}
+
+define  service {
+        use                             3064generic-check
+        host_name                       3064localhost-test
+        contact_groups                  testconfig-group-admin
+        service_description             3064noperfdataservice
+}





More information about the icinga-checkins mailing list