nagios: Add support for Kerberos KDC service target.
This commit is contained in:
parent
71a89cd122
commit
37e36b3aae
4 changed files with 120 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue