diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-05-15 11:34:54 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-05-15 11:34:54 +0000 |
commit | f64c5ab2ee858226edfece88038f6e1fba2e26a3 (patch) | |
tree | 8f38e3187a4e9a364ac7f141fa32ba85bb65908e /munin/ipmi_sensor_ | |
parent | 16f191732d144a2938adbf1fa668395ae84de5b4 (diff) |
But disallow the dot
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@83 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'munin/ipmi_sensor_')
-rwxr-xr-x | munin/ipmi_sensor_ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/munin/ipmi_sensor_ b/munin/ipmi_sensor_ index a14c8aa..a4866a2 100755 --- a/munin/ipmi_sensor_ +++ b/munin/ipmi_sensor_ @@ -24,10 +24,10 @@ def bail_out(m) exit 1 end def normalize_sensor(s) - s.downcase.tr('^a-z0-9.-', '_') + s.downcase.tr('^a-z0-9-', '_') end def normalize_unit(s) - s.downcase.tr('^a-z0-9.-', '_') + s.downcase.tr('^a-z0-9-', '_') end def get_sensor_data data = [] |