aboutsummaryrefslogtreecommitdiffstats
path: root/munin-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'munin-plugin')
-rwxr-xr-xmunin-plugin2
1 files changed, 1 insertions, 1 deletions
diff --git a/munin-plugin b/munin-plugin
index 8e59139..a0899db 100755
--- a/munin-plugin
+++ b/munin-plugin
@@ -50,7 +50,7 @@ if (!$ARGV[0]) {
sub label2key {
my $label = shift;
- $label =~ s/[^a-xA-Z_]+/_/g;
+ $label =~ s/[^a-zA-Z0-9_]+/_/g;
$label =~ s/^_+//;
return $label;
}