projects
/
sysadmin-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361d200
)
preserve original function name for label
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 27 May 2012 20:06:24 +0000
(20:06 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 27 May 2012 20:06:24 +0000
(20:06 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@294
191e9f34
-6774-4a6d-acfc-
7664dacd4a2a
recepies/munin/plugins/gearman
patch
|
blob
|
history
diff --git
a/recepies/munin/plugins/gearman
b/recepies/munin/plugins/gearman
index
10adfbc
..
78da8e5
100644
(file)
--- a/
recepies/munin/plugins/gearman
+++ b/
recepies/munin/plugins/gearman
@@
-43,8
+43,9
@@
if ( $arg eq 'config' ) {
print "graph_title Gearman $multigraph\n";
foreach my $name ( keys %{ $stats->{$multigraph} } ) {
+ my $label = $name;
$name =~ s/\W+/_/g;
- print "$name.label $
name
\n";
+ print "$name.label $
label
\n";
}
}
} else {