Updated sample config, removed debugging message.
[cert-checker.git] / README
1 Certificate validity checker
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
4
5 Sample nagios configuration:
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7
8 define command {
9         command_name    check_cert
10         command_line    /usr/local/bin/cert-checker -H $HOSTADDRESS$ -s $ARG1$ -w $ARG2$ -c $ARG3$
11 }
12
13 define service {
14         hostgroup_name linux-servers
15         service_description HTTPS certificate validity checker
16         check_command check_cert!443!30!7
17         use generic-service
18         normal_check_interval 1440
19 }
20