File: mail.cfg

package info (click to toggle)
nagios-plugins 1.4-6sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,892 kB
  • ctags: 3,369
  • sloc: ansic: 29,379; perl: 12,117; sh: 5,836; makefile: 540; python: 444; yacc: 316; awk: 46; sed: 16
file content (55 lines) | stat: -rw-r--r-- 1,436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 'check_pop' command definition
define command {
	command_name	check_pop
	command_line	/usr/lib/nagios/plugins/check_pop -H $HOSTADDRESS$
}


# 'check_smtp' command definition
define command {
	command_name	check_smtp
	command_line	/usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$
}

# 'check_imap' command definition
define command {
	command_name	check_imap
	command_line	/usr/lib/nagios/plugins/check_imap -H $HOSTADDRESS$
}

# 'check_spop' command definition
define command {
	command_name	check_spop
	command_line	/usr/lib/nagios/plugins/check_pop -p 995 -H $HOSTADDRESS$ -S
}


# 'check_simap' command definition
define command {
	command_name	check_simap
	command_line	/usr/lib/nagios/plugins/check_imap -p 993 -H $HOSTADDRESS$ -S
}

# 'check-mailq' for sendmail
define command {
        command_name    check_mailq_sendmail
	command_line    /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M sendmail
}

# 'check-mailq' for postfix
define command {
        command_name    check_mailq_postfix
	command_line    /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M postfix
}

# 'check-mailq' for exim
define command {
        command_name    check_mailq_exim
	command_line    /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M exim
}

# 'check-mailq' for qmail
define command {
        command_name    check_mailq_qmail
	command_line    /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M qmail
}