nagios: Added certificate expiration check to imap and pop3 service checks.

This commit is contained in:
Timo Mkinen 2013-10-17 23:31:12 +03:00
parent 501893c8f8
commit 1bced66e1a

View file

@ -104,7 +104,7 @@ class nagios::target::https inherits nagios::target {
class nagios::target::imaps inherits nagios::target {
@@nagios::service { "${::homename}_imaps":
command => "check_imap!--ssl -p 993",
command => "check_imap!--ssl -p 993 -D 14",
description => "IMAPS",
}
@ -164,7 +164,7 @@ class nagios::target::lpd inherits nagios::target {
class nagios::target::pop3s inherits nagios::target {
@@nagios::service { "${::homename}_pop3s":
command => "check_pop!--ssl -p 995",
command => "check_pop!--ssl -p 995 -D 14",
description => "POP3s",
}