SVN: nagios-config/trunk/commands/check_http.cfg
glen
glen at pld-linux.org
Mon Sep 7 16:39:22 CEST 2009
Author: glen
Date: Mon Sep 7 16:39:21 2009
New Revision: 10539
Modified:
nagios-config/trunk/commands/check_http.cfg
Log:
- service templates, add https.crt check
Modified: nagios-config/trunk/commands/check_http.cfg
==============================================================================
--- nagios-config/trunk/commands/check_http.cfg (original)
+++ nagios-config/trunk/commands/check_http.cfg Mon Sep 7 16:39:21 2009
@@ -9,6 +9,48 @@
command_line $USER1$/check_http -I $HOSTADDRESS$ -S $ARG1$
}
+define command {
+ command_name check_https.crt
+ command_line $USER1$/check_http -I $HOSTADDRESS$ -S -C 14 $ARG1$
+}
+
+define service {
+ use generic-service
+ name http
+ service_description http
+ register 0
+
+ ; increase check interval to 5 minutes
+ normal_check_interval 5
+ ; increase retry to one minute
+ retry_check_interval 1
+
+ check_command check_http
+}
+
+define service {
+ use http
+ name https
+ service_description https
+ register 0
+
+ check_command check_https
+}
+
+define service {
+ use http
+ name https.crt
+ service_description https.crt
+ register 0
+
+ ; check every 12h is sufficent, notify daily
+ normal_check_interval 720
+ notification_interval 1440
+
+ check_command check_https.crt
+}
+
+
# These below are deprecated, use check_http / check_https and add the extra args yourself
# 'check_http' with port support
More information about the pld-cvs-commit
mailing list