diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-27 11:16:34 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-27 11:16:34 +0000 |
commit | 4e528907d151816acbfdc5df9afe3c5b8a5d3dd0 (patch) | |
tree | 765d3e054fed9b84e4949147adcb4382954ec96a /munin-plugin | |
parent | fb284a96d0b6334eff78d503d28422b00053d70e (diff) | |
download | sitesummary-4e528907d151816acbfdc5df9afe3c5b8a5d3dd0.tar.gz sitesummary-4e528907d151816acbfdc5df9afe3c5b8a5d3dd0.tar.bz2 sitesummary-4e528907d151816acbfdc5df9afe3c5b8a5d3dd0.tar.xz |
Fix typo and make sure numbers are allowed too.
Diffstat (limited to 'munin-plugin')
-rwxr-xr-x | munin-plugin | 2 |
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; } |