/[sysadmin-cookbook]/recepies/munin/plugins/gearman
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/munin/plugins/gearman

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 293 by dpavlin, Sun May 27 19:58:55 2012 UTC revision 294 by dpavlin, Sun May 27 20:06:24 2012 UTC
# Line 43  if ( $arg eq 'config' ) { Line 43  if ( $arg eq 'config' ) {
43                  print "graph_title Gearman $multigraph\n";                  print "graph_title Gearman $multigraph\n";
44    
45                  foreach my $name ( keys %{ $stats->{$multigraph} } ) {                  foreach my $name ( keys %{ $stats->{$multigraph} } ) {
46                            my $label = $name;
47                          $name =~ s/\W+/_/g;                          $name =~ s/\W+/_/g;
48                          print "$name.label $name\n";                          print "$name.label $label\n";
49                  }                  }
50          }          }
51  } else {  } else {

Legend:
Removed from v.293  
changed lines
  Added in v.294

  ViewVC Help
Powered by ViewVC 1.1.26