nagios: Added certificate expiration check to imap and pop3 service checks.
This commit is contained in:
parent
501893c8f8
commit
1bced66e1a
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue