From f7f0f2fb36b87f09704f206d534a2aace7ee07ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 18 Sep 2013 12:33:24 +0300 Subject: [PATCH] nagios: Added IPP and LPD service target support. --- nagios/manifests/target.pp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index d47d8cf..99f4cbd 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -111,6 +111,18 @@ class nagios::target::imaps inherits nagios::target { } +# Configure ipp service target. +# +class nagios::target::ipp inherits nagios::target { + + @@nagios::service { "${::homename}_ipp": + command => "check_http!-p 631", + description => "IPP", + } + +} + + # Configure ldap service target. # class nagios::target::ldap inherits nagios::target { @@ -135,6 +147,18 @@ class nagios::target::ldaps inherits nagios::target { } +# Configure lpd service target. +# +class nagios::target::lpd inherits nagios::target { + + @@nagios::service { "${::homename}_lpd": + command => "check_tcp!515", + description => "LPD", + } + +} + + # Configure pop3 service target. # class nagios::target::pop3s inherits nagios::target {