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 {