remove notification
This commit is contained in:
@@ -6,22 +6,18 @@
|
|||||||
class confdroid_apache::monitoring::target (
|
class confdroid_apache::monitoring::target (
|
||||||
|
|
||||||
) inherits confdroid_apache::params {
|
) inherits confdroid_apache::params {
|
||||||
case $ae_incl_target {
|
if $ae_incl_target == true {
|
||||||
false: { notify { 'Nagios Service target for check_httpd has been disabled via parameters / ENC override': }
|
@@nagios_service { "check_http_${fqdn}":
|
||||||
}
|
check_command => 'check_http',
|
||||||
default: {
|
use => 'generic-service',
|
||||||
@@nagios_service { "check_http_${fqdn}":
|
host_name => $fqdn,
|
||||||
check_command => 'check_http',
|
notification_period => '24x7',
|
||||||
use => 'generic-service',
|
service_description => "${fqdn}_check_http",
|
||||||
host_name => $fqdn,
|
target => $ae_target_service,
|
||||||
notification_period => '24x7',
|
owner => 'nagios',
|
||||||
service_description => "${fqdn}_check_http",
|
group => 'nagios',
|
||||||
target => $ae_target_service,
|
mode => '0640',
|
||||||
owner => 'nagios',
|
contacts => 'ops',
|
||||||
group => 'nagios',
|
|
||||||
mode => '0640',
|
|
||||||
contacts => 'ops',
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user