]> git.pld-linux.org Git - projects/nagios-config.git/blob - commands/check_imap.cfg
check_dns_name for checking if specified name resolves
[projects/nagios-config.git] / commands / check_imap.cfg
1 # 'check_imap' command definition
2 define command {
3         command_name    check_imap
4         command_line    /usr/lib/nagios/plugins/check_imap -H $HOSTADDRESS$ $ARG1$
5 }
6
7 # check secure imap
8 define command {
9         command_name    check_imaps
10         command_line    /usr/lib/nagios/plugins/check_simap -H $HOSTADDRESS$ $ARG1$
11 }
12
13 define command {
14         command_name    check_imaps.crt
15         command_line    /usr/lib/nagios/plugins/check_simap -H $HOSTADDRESS$ -D 14 $ARG1$
16 }
17
18 define service {
19         use                     generic-service
20         name                    imap
21         service_description     imap
22         register                0
23
24         ; increase check interval to 5 minutes
25         normal_check_interval   5
26         ; increase retry to one minute
27         retry_check_interval    1
28         notification_interval   15
29
30         check_command           check_imap
31 }
32
33 define service {
34         use                     imap
35         name                    imaps
36         service_description     imaps
37         register                0
38
39         check_command           check_imaps
40 }
41
42 define service {
43         use                     imap
44         name                    imaps.crt
45         service_description     imaps.crt
46         register                0
47
48         ; check every 12h is sufficent, notify daily
49         normal_check_interval   720
50         notification_interval   1440
51
52         check_command           check_imaps.crt
53 }
This page took 0.066358 seconds and 3 git commands to generate.