nagios: Added LDAP and LDAPs service targets.

This commit is contained in:
Timo Mkinen 2013-05-10 23:55:22 +03:00
parent 16b3f0d71e
commit ce958b5e3e
2 changed files with 31 additions and 0 deletions

View file

@ -105,6 +105,30 @@ class nagios::target::imaps inherits nagios::target {
}
# Configure ldap service target.
#
class nagios::target::ldap inherits nagios::target {
@@nagios::service { "${::homename}_ldap":
command => "check_ldap!${ldap_basedn}",
description => "LDAP",
}
}
# Configure ldaps service target.
#
class nagios::target::ldaps inherits nagios::target {
@@nagios::service { "${::homename}_ldaps":
command => "check_ldap!${ldap_basedn} -p 636",
description => "LDAPs",
}
}
# Configure smtp service target.
#
class nagios::target::smtp inherits nagios::target {