From cb3acc63633bae41cc867d5861a9e9d91d98c39b Mon Sep 17 00:00:00 2001 From: Stephan Kleber Date: Mon, 8 Apr 2024 11:26:42 +0200 Subject: [PATCH] Replace dots in pool name Remove all dots from pool name since dots prevent correct parsing in munin server. --- phpfpm-multi | 1 + 1 file changed, 1 insertion(+) diff --git a/phpfpm-multi b/phpfpm-multi index 8846feb..4e15b1d 100755 --- a/phpfpm-multi +++ b/phpfpm-multi @@ -116,6 +116,7 @@ if (opendir my $dh, $cfg_pooldir) { if ($line =~ /^\[([^\]]*)\]/) { $pool->{pool} = $1; + $pool->{pool} =~ s/\.//g; # Replaces all dots with empty space } elsif ($line =~ /^listen\s*=\s*(\S+)$/) { $pool->{socket} = $1; } elsif ($line =~ /^pm.status_path\s*=\s*(\S+)$/) {