From 78ba93cbe165383a977f378c06720000addd9c8d Mon Sep 17 00:00:00 2001 From: dbsqp <5895806+dbsqp@users.noreply.github.com> Date: Sun, 18 Apr 2021 20:29:07 +0200 Subject: [PATCH] updated remove keys for nut macosx-ups --- nut-influxdbv2-exporter.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nut-influxdbv2-exporter.py b/nut-influxdbv2-exporter.py index 0dd4a1c..abdf205 100644 --- a/nut-influxdbv2-exporter.py +++ b/nut-influxdbv2-exporter.py @@ -22,7 +22,13 @@ # Other vars debug_str = os.getenv('DEBUG', 'false') -remove_keys = ['battery.type','device.serial','ups.realpower.nominal','ups.vendorid','ups.serial','ups.productid','ups.model','ups.mfr','driver.version.data','driver.version','device.type','device.mfr', 'driver.version.internal', 'driver.version.usb', 'ups.beeper.status', 'driver.name', 'battery.mfr.date','ups.firmware', 'ups.firmware.aux','ups.mfr.date', 'battery.date', 'battery.charge.low', 'battery.charge.warning', 'battery.runtime.low','driver.parameter.pollfreq','driver.parameter.pollinterval','driver.parameter.port','input.sensitivity','input.transfer.high','input.transfer.low','ups.delay.shutdown','ups.test.result','ups.timer.reboot','ups.timer.shutdown'] +remove_keys = ['battery.type','device.serial','ups.realpower.nominal','ups.vendorid','ups.serial','ups.productid', + 'ups.model','ups.mfr','driver.version.data','driver.version','device.type','device.mfr', + 'driver.version.internal', 'driver.version.usb', 'ups.beeper.status', 'driver.name', 'battery.mfr.date', + 'ups.firmware', 'ups.firmware.aux','ups.mfr.date', 'battery.date', 'battery.charge.low', + 'battery.charge.warning', 'battery.runtime.low','driver.parameter.pollfreq','driver.parameter.pollinterval', + 'driver.parameter.port','input.sensitivity','input.transfer.high','input.transfer.low','ups.delay.shutdown', + 'ups.test.result','ups.timer.reboot','ups.timer.shutdown','driver.parameter.synchronous'] # InfluxDBv2 variables influxdb2_host=os.getenv('INFLUXDB2_HOST', "localhost")