1 diff -ur munin-monitoring-contrib.orig/plugins/apache/apache_watch_ munin-monitoring-contrib/plugins/apache/apache_watch_
2 --- munin-monitoring-contrib.orig/plugins/apache/apache_watch_ 2023-03-07 18:41:34.000000000 +0100
3 +++ munin-monitoring-contrib/plugins/apache/apache_watch_ 2023-03-07 22:33:01.400068121 +0100
5 print "graph_vlabel activity\n";
7 foreach my $server (sort (@servers)) {
8 - (my $txtserver = $server) =~ s/(-|\.)/\_/g;
9 + (my $txtserver = $server) =~ s/(-|\.|:|\\)/\_/g;
10 my $draw = ($i==0) ? 'AREA' : 'STACK';
11 if ($action eq "bytes") {
12 print "${txtserver}.label $server\n";
14 foreach my $string (sort (@data)) {
15 my ($server, $ifInOctets, $ifOutOctets, $ifRequests, $ifDocuments) =
16 split (/\s/, $string);
17 - (my $txtserver = $server) =~ s/(-|\.)/\_/g;
18 + (my $txtserver = $server) =~ s/(-|\.|:|\\)/\_/g;
19 if ($action eq "documents") {
20 print "${txtserver}.value $ifDocuments\n";
21 } elsif ($action eq "requests") {