From 977776c6230692ca4ee22980ac98a3ba915321cc Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 9 Oct 2014 11:37:40 +0300 Subject: [PATCH] nagios: Added IPP with SSL service target. --- nagios/manifests/target.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index 4517b79..3623bc4 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -145,6 +145,23 @@ class nagios::target::ipp inherits nagios::target { } +# Configure ipp with SSL service target. +# +class nagios::target::ipp::ssl inherits nagios::target { + + @@nagios::service { "${::homename}_ipp_ssl": + command => "check_http!-p 631 --ssl", + description => "IPP + SSL", + } + + @@nagios::service { "${::homename}_ipp_ssl_certificate": + command => "check_http!-p 631 --ssl -C 14", + description => "IPP + SSL Certificate", + } + +} + + # Configure jabber service target. # class nagios::target::jabber inherits nagios::target {