From 19df011191caca32dbe344eb5ce58df9a425756d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Mon, 6 May 2013 13:57:56 +0300 Subject: [PATCH] nagios: Added support for checking SSL enabled IMAP service. --- nagios/manifests/target.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index 84d8418..57bbb09 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -70,6 +70,18 @@ class nagios::target::https inherits nagios::target { } +# Configure imaps service target. +# +class nagios::target::imaps inherits nagios::target { + + @@nagios::service { "${::homename}_imaps": + command => "check_imap!--ssl -p 993", + description => "IMAPS", + } + +} + + # Configure smtp service target. # class nagios::target::smtp inherits nagios::target {