nagios: Add support for Kerberos KDC service target.

This commit is contained in:
Timo Makinen 2016-06-23 11:37:48 +03:00
parent 71a89cd122
commit 37e36b3aae
4 changed files with 120 additions and 1 deletions

View file

@ -198,6 +198,18 @@ class nagios::target::jabber inherits nagios::target {
}
# Configure kerberos kdc service target.
#
class nagios::target::kdc($principal, $keytab="/etc/nagios/nagios.keytab") inherits nagios::target {
@@nagios::service { "${::homename}_kdc":
command => "check_kdc!-P ${principal} -k ${keytab}",
description => "Kerberos KDC",
}
}
# Configure ldap service target.
#
class nagios::target::ldap inherits nagios::target {