diff --git a/smartprom.py b/smartprom.py index 5b7e5af..ae0777f 100755 --- a/smartprom.py +++ b/smartprom.py @@ -146,7 +146,7 @@ def collect(): for key, values in attrs.items(): # Create metric if does not exist if key not in METRICS: - name = key.replace('-', '_').replace(' ', '_').replace('.', '').replace('/', '_') + name = key.replace('-', '_').replace(' ', '_').replace('.', '').replace('/', '_').lower() desc = key.replace('_', ' ') if typ == 'sat': num = hex(values[0])