diff --git a/check_powerdns_rec.py b/check_powerdns_rec.py index 309ee26..c456fb5 100755 --- a/check_powerdns_rec.py +++ b/check_powerdns_rec.py @@ -157,7 +157,7 @@ def statistics(self): json_object = self.execute('/api/v1/servers/localhost/statistics') for val in json_object: if ('type' in val) and ('name' in val) and ('value' in val) and (val['type'] == 'StatisticItem'): - data[val['name']] = int(val['value']) + data[val['name']] = float(val['value']) return data def execute(self, path):