From 70d894e4b1d8f1837c8154e4e4037d8ea8e1d331 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 15 Nov 2013 08:43:07 +0200 Subject: [PATCH] nagios: Added certificate check to submission service target. --- nagios/manifests/target.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index dde91e5..66aae74 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -219,6 +219,11 @@ class nagios::target::submission inherits nagios::target { description => "Submission", } + @@nagios::service { "${::homename}_submission_certificate": + command => "check_smtp!--starttls -p 587 -D 14", + description => "Submission Certificate", + } + }