OP#436 add purging
This commit is contained in:
@@ -22,6 +22,7 @@ class confdroid_nagios::client::target (
|
||||
mode => '0640',
|
||||
check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
|
||||
notify => Service[$ng_service],
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "root_partition_${fqdn}":
|
||||
@@ -37,6 +38,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
if $ng_enable_swap_check == true {
|
||||
@@ -53,6 +55,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,6 +72,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Total Processes_${fqdn}":
|
||||
@@ -84,6 +88,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Zombie Processes_${fqdn}":
|
||||
@@ -99,6 +104,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Current_Load_${fqdn}":
|
||||
@@ -114,6 +120,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user