Signed-off-by: Stephen Gran <steve@lobefin.net>
"apache_accesses":;
"apache_processes":;
"apache_volume":;
"apache_accesses":;
"apache_processes":;
"apache_volume":;
+ "ps_apache2": script => "ps_";
-define activate_munin_check($ensure=present) {
+define activate_munin_check($ensure=present, script=$name) {
case $ensure {
present: {
file { "/etc/munin/plugins/$name":
case $ensure {
present: {
file { "/etc/munin/plugins/$name":
- ensure => "/usr/share/munin/plugins/$name",
+ ensure => "/usr/share/munin/plugins/$script",
notify => Exec["munin-node restart"];
}
}
notify => Exec["munin-node restart"];
}
}