summaryrefslogtreecommitdiff
path: root/manifests/command/smtp.pp
blob: 04f854357125af99e0401c7cfe9591cee02e6960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class nagios::command::smtp {
  nagios_command{
    'check_smtp':
      command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$';
    'check_smtp_tls':
      command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$ -S';
    'check_smtp_cert':
      command_line => '$USER1$/check_smtp -H $ARG1$ -p $ARG2$ -S -D $ARG3$';
    'check_ssmtp':
      command_line => '$USER1$/check_ssmtp -H $ARG1$ -p $ARG2$ -S';
    'check_ssmtp_cert':
      command_line => '$USER1$/check_ssmtp -H $ARG1$ -p $ARG2$ -S -D $ARG3$';
  }
}