November 2, 20223 yr Overview: Support for the nut-influxdbv2-exporter Docker template. Docker Hub: https://hub.docker.com/r/jwillmer/nut-influxdbv2 GitHub: https://github.com/jwillmer/nut-influxdbv2 Description: nut-influxdbv2-exporter is a container that queries NUT (Network UPS Tools) and then stores the result in a InfluxDBv2.
April 27, 20233 yr @jwillmer Thanks for exporter, all work fine but in grafana i have errors, it seems like dashboard for influxdbv1 ? not flux
April 27, 20233 yr Author 48 minutes ago, Masterwishx said: @jwillmer Thanks for exporter, all work fine but in grafana i have errors, it seems like dashboard for influxdbv1 ? not flux Thank you for the feedback. I have updated the Readme. Hope it works for you now.
April 27, 20233 yr Sorry its also not working becose im not using telegraf , i was thinking dashboard is getting values from influxDBv2 bucket.... but no problem i will try to build dashboard in flux from bucket when will have time ... most important the all NUT data goes to bucket by exporter
September 7, 20241 yr Hi there, Getting this weird loop on startup... Start Loop Connecting to URL: http://localhost:8086 verify_ssl= False Connected successfully to InfluxDB Connecting to NUT host 192.168.10.10:3493 Connected successfully to NUT *Error connecting to InfluxDB.* Exit status not 0 Sleep 120 The fact it says that its connecting and then throws an error on the 6th line is odd. It doesn't seem to be dropping any data into my seperate instance of influx Edited September 7, 20241 yr by Inch
October 21, 20241 yr Author 17 hours ago, anibis2 said: Yeah I can't get it working either. I think this docker has been abandoned. On 9/7/2024 at 5:21 PM, Inch said: Hi there, Getting this weird loop on startup... Start Loop Connecting to URL: http://localhost:8086 verify_ssl= False Connected successfully to InfluxDB Connecting to NUT host 192.168.10.10:3493 Connected successfully to NUT *Error connecting to InfluxDB.* Exit status not 0 Sleep 120 The fact it says that its connecting and then throws an error on the 6th line is odd. It doesn't seem to be dropping any data into my seperate instance of influx Try to enable verbose logging. It will hopefully tell you why it fails. The "Error connecting to InfluxDB." is written if an exception occurs when trying to write data to influx. You logs show that initially the connection test was successful but in the process of sending data it failed. The reason why it failed is unclear, so please enable verbose logging to get more details.
November 1, 2025Nov 1 Start LoopConnecting to URL: http://xx:8086 verify_ssl= FalseConnected successfully to InfluxDBConnecting to NUT host yyy:3493Connected successfully to NUTError getting data from NUTExit status not 0Sleep 120Monitoring user/pass is correct but could not connect. Could you help?
November 1, 2025Nov 1 I could fix it myself. UPS_NAME is really matter. It must be same as the one defined in NUT server.
March 15Mar 15 Not sure what I am doing wrong, below is the errors I am getting in the log.Connecting to NUT host 127.0.0.1:3493self._srv_handler = telnetlib.Telnet(self._host, self._port,File "/usr/lib/python3.10/telnetlib.py", line 218, in initself.open(host, port, timeout)File "/usr/lib/python3.10/telnetlib.py", line 235, in openself.sock = socket.create_connection((host, port), timeout)File "/usr/lib/python3.10/socket.py", line 845, in create_connectionraise errFile "/usr/lib/python3.10/socket.py", line 833, in create_connectionsock.connect(sa)ConnectionRefusedError: [Errno 111] Connection refusedDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "//nut-influxdbv2-exporter.py", line 140, in <module>ups_client = PyNUTClient(File "/usr/local/lib/python3.10/dist-packages/nut2.py", line 70, in initself._connect()File "/usr/local/lib/python3.10/dist-packages/nut2.py", line 112, in _connectraise PyNUTError("Socket error.")nut2.PyNUTError: Socket error.Exit status not 0 Edited March 15Mar 15 by kennyr35
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.