From ed48f86d5080fa7d376b7d002d44ec6c42729dd4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 12 Mar 2014 14:04:08 -0300 Subject: Run minin-graph with nice and ionice --- manifests/subsystem/monitor/master.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp index c93ec0e..e23f02d 100644 --- a/manifests/subsystem/monitor/master.pp +++ b/manifests/subsystem/monitor/master.pp @@ -38,7 +38,7 @@ class nodo::subsystem::monitor::master { owner => root, group => root, mode => 0644, - content => "10 * * * * munin if [ -x /usr/local/bin/munin-graph ]; then /usr/local/bin/munin-graph; fi\n", + content => "10 * * * * munin if [ -x /usr/local/bin/munin-graph ]; then /usr/bin/ionice -c 3 /usr/bin/nice -n 19 /usr/local/bin/munin-graph; fi\n", require => File['/usr/local/bin/munin-graph'], } -- cgit v1.2.3