From 170c882b184b7e68cb396b9a77c6a82ff6cb6e99 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Fri, 16 Nov 2012 19:05:05 +0200 Subject: [PATCH] Added nagios smtp target --- nagios/manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nagios/manifests/init.pp b/nagios/manifests/init.pp index e6689bb..bab0403 100644 --- a/nagios/manifests/init.pp +++ b/nagios/manifests/init.pp @@ -425,3 +425,16 @@ class nagios::target::https { } } + + +class nagios::target::smtp { + + include nagios::target + + @@nagios::service { "${fqdn}_smtp": + host => $fqdn, + command => "check_smtp", + description => "SMTP", + } + +}