From f82b011c4e984aa8e0d2e6af33c64bfa2d30b28f Mon Sep 17 00:00:00 2001 From: Stefano Gargiulo Date: Wed, 20 Mar 2013 08:40:46 +0100 Subject: [PATCH] Update cpu_by_process fix, plugin didn't worked in munin 2.0: config param is in ARGV[0], not ARGV[1] --- plugins/system/cpu_by_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/system/cpu_by_process b/plugins/system/cpu_by_process index 504ff309..93916dc0 100755 --- a/plugins/system/cpu_by_process +++ b/plugins/system/cpu_by_process @@ -75,7 +75,7 @@ foreach my $process (keys %total_cpu_by_process) close(PS); -if (@ARGV and $ARGV[1] eq "config") +if (@ARGV and $ARGV[0] eq "config") { print <