OP#436 add nagios contacts

This commit is contained in:
2026-03-01 14:51:23 +01:00
parent bc894bfa0e
commit b710bf8322
5 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ class confdroid_nagios::nagios::objects::add_contact_rules (
selrole => object_r,
seltype => nagios_etc_t,
seluser => system_u,
notify => Service[$ng_service],
notify => Service[$ng_nagios_service],
}
# manage file header

View File

@@ -17,7 +17,7 @@ define confdroid_nagios::server::access (
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
$ng_htpasswd_file = $confdroid_nagios::params::ng_htpasswd_file
$ng_htpasswd_rule = $confdroid_nagios::params::ng_htpasswd_rule
$ng_service = $confdroid_nagios::params::ng_nagios_service
$ng_nagios_service = $confdroid_nagios::params::ng_nagios_service
if $fqdn == $ng_nagios_server {
# create password rules