# nut-influxdb-exporter

nut-influxdb-exporter is an unmaintained Docker wrapper for a Python script that polls NUT (Network UPS Tools) and stores the readings in InfluxDB for charting. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1114/nut-influxdb-exporter

## Description

nut-influxdb-exporter is an unmaintained Docker wrapper for a Python script that polls NUT (Network UPS Tools) and stores the readings in InfluxDB for charting. It was used to track UPS power metrics in Grafana, but the maintainer has stopped updating it in favor of Telegraf's built-in NUT input plugin, which is the recommended replacement for collecting UPS metrics.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

15/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 1439 days ago)
- Popular: 24 (15 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/kiwimato/nut-influxdb-exporter
- Docker Hub: https://hub.docker.com/r/maihai/nut-influxdb-exporter
- Unraid: https://ca.unraid.net/apps/nut-influxdb-exporter-04d3ch40ymfq9w?q=nut-influxdb-exporter

## Common questions

### What error can occur when the Watts field is populated in the exporter?

One user reported a TypeError in the Python exporter when it calculated fields['watts'] from fields['ups.load']. The report mentions omitting the Watts value while discussing the failure.

### Where are open bugs reported for the script?

The project has a dedicated GitHub Issues page for the script.

### Did a user report Grafana dashboard errors when using the InfluxDBv2 NUT exporter?

Yes, one user said the exporter worked but Grafana showed errors because the dashboard appeared to be for InfluxDB 1 instead of Flux.

### Can I get complete NUT-to-InfluxDB Cloud steps from the Telegraf thread?

No, the thread requests high-level steps for collecting UPS NUT stats on an RPi 0 and sending them to InfluxDB Cloud and Grafana Cloud.

---
Source: Our Local Host (https://ourlocalhost.com/app/1114/nut-influxdb-exporter), the self-hosted and open-source app directory.
