1 --- munin-plugins/plugins/apache/apache_watch_~ 2008-11-30 01:59:30.000000000 +0100
2 +++ munin-plugins/plugins/apache/apache_watch_ 2009-04-26 20:30:15.107587925 +0200
4 print "graph_vlabel activity\n";
6 foreach my $server (sort (@servers)) {
7 - (my $txtserver = $server) =~ s/(-|\.)/\_/g;
8 + (my $txtserver = $server) =~ s/(-|\.|:|\\)/\_/g;
9 my $draw = ($i==0) ? 'AREA' : 'STACK';
10 if ($action eq "bytes") {
11 print "${txtserver}.label $server\n";
13 foreach my $string (sort (@data)) {
14 my ($server, $ifInOctets, $ifOutOctets, $ifRequests, $ifDocuments) =
15 split (/\s/, $string);
16 - (my $txtserver = $server) =~ s/(-|\.)/\_/g;
17 + (my $txtserver = $server) =~ s/(-|\.|:|\\)/\_/g;
18 if ($action eq "documents") {
19 print "${txtserver}.value $ifDocuments\n";
20 } elsif ($action eq "requests") {