From ce623ac4fc70436f143ee265b949fb507eb39a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 10 Sep 2013 15:40:08 +0300 Subject: [PATCH] nagios: Added submission service check support. --- nagios/manifests/target.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index 775d50b..d47d8cf 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -159,6 +159,18 @@ class nagios::target::smtp inherits nagios::target { } +# Configure submission service target. +# +class nagios::target::submission inherits nagios::target { + + @@nagios::service { "${::homename}_submission": + command => "check_smtp!--starttls -p 587", + description => "Submission", + } + +} + + # Configure tcp connect service target. # # === Parameters