SVN: nagios-config/trunk/commands/check_imap.cfg
glen
glen at pld-linux.org
Mon Sep 7 16:41:46 CEST 2009
Author: glen
Date: Mon Sep 7 16:41:46 2009
New Revision: 10540
Modified:
nagios-config/trunk/commands/check_imap.cfg
Log:
- service templates, add imaps.crt check
Modified: nagios-config/trunk/commands/check_imap.cfg
==============================================================================
--- nagios-config/trunk/commands/check_imap.cfg (original)
+++ nagios-config/trunk/commands/check_imap.cfg Mon Sep 7 16:41:46 2009
@@ -9,3 +9,45 @@
command_name check_imaps
command_line $USER1$/check_simap -H $HOSTADDRESS$ $ARG1$
}
+
+define command {
+ command_name check_imaps.crt
+ command_line $USER1$/check_simap -H $HOSTADDRESS$ -D 14 $ARG1$
+}
+
+define service {
+ use generic-service
+ name imap
+ service_description imap
+ register 0
+
+ ; increase check interval to 5 minutes
+ normal_check_interval 5
+ ; increase retry to one minute
+ retry_check_interval 1
+ notification_interval 15
+
+ check_command check_imap
+}
+
+define service {
+ use imap
+ name imaps
+ service_description imaps
+ register 0
+
+ check_command check_imaps
+}
+
+define service {
+ use imap
+ name imaps.crt
+ service_description imaps.crt
+ register 0
+
+ ; check every 12h is sufficent, notify daily
+ normal_check_interval 720
+ notification_interval 1440
+
+ check_command check_imaps.crt
+}
More information about the pld-cvs-commit
mailing list