]> git.pld-linux.org Git - projects/nagios-config.git/blame - commands/check_smtp.cfg
check_dns_name for checking if specified name resolves
[projects/nagios-config.git] / commands / check_smtp.cfg
CommitLineData
d9fc610a
ER
1# 'check_smtp' command definition
2define command {
70d3f139 3 command_name check_smtp
fe5530b1 4 command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ $ARG1$
d9fc610a 5}
40c17ae3
ER
6
7define command {
8 command_name check_smtps
fe5530b1 9 command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -S -p 465 -e 220 $ARG1$
40c17ae3
ER
10}
11
12define command {
13 command_name check_smtps.crt
fe5530b1 14 command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p 465 -D 14 $ARG1$
40c17ae3
ER
15}
16
17# SMTP
18define service {
19 use generic-service
20 name smtp
21 service_description smtp
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
29 check_command check_smtp
30}
31
32define service {
33 use smtp
34 name smtps
35 service_description smtps
36 register 0
37
38 check_command check_smtps
39}
40
41define service {
42 use smtp
43 name smtps.crt
44 service_description smtps.crt
45 register 0
46
47 ; check every 12h is sufficent, notify daily
48 normal_check_interval 720
49 notification_interval 1440
50
51 check_command check_smtps.crt
52}
This page took 0.182171 seconds and 4 git commands to generate.