diff --git a/graphios.py b/graphios.py index 504c741..e50dcd7 100755 --- a/graphios.py +++ b/graphios.py @@ -130,6 +130,9 @@ def __init__(self): self.GRAPHITEPOSTFIX = '' # graphios suffix self.VALID = False # if this metric is valid + if 'metric_base_path' in cfg: + self.METRICBASEPATH = cfg['metric_base_path'] + def validate(self): # because we eliminated all whitespace, there shouldn't be any quotes # this happens more with windows nagios plugins