Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] - NUT InfluxDBv2 Exporter

Featured Replies

  • 5 months later...

@jwillmer Thanks for exporter, all work fine but in grafana i have errors, it seems like dashboard for influxdbv1 ? not flux

 

image.thumb.png.f57ca6eda36a085b1c90b62e0e6f0b21.png

  • 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

 

image.thumb.png.f57ca6eda36a085b1c90b62e0e6f0b21.png

Thank you for the feedback. I have updated the Readme. Hope it works for you now.

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

  • 1 year later...

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 by Inch

  • 1 month later...

Yeah I can't get it working either. I think this docker has been abandoned.

  • 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.

  • 1 year later...

Start Loop

Connecting to URL: http://xx:8086 verify_ssl= False

Connected successfully to InfluxDB

Connecting to NUT host yyy:3493

Connected successfully to NUT

Error getting data from NUT

Exit status not 0

Sleep 120

Monitoring user/pass is correct but could not connect. Could you help?

I could fix it myself. UPS_NAME is really matter. It must be same as the one defined in NUT server.

  • 4 months later...

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:3493

self._srv_handler = telnetlib.Telnet(self._host, self._port,

File "/usr/lib/python3.10/telnetlib.py", line 218, in init

self.open(host, port, timeout)

File "/usr/lib/python3.10/telnetlib.py", line 235, in open

self.sock = socket.create_connection((host, port), timeout)

File "/usr/lib/python3.10/socket.py", line 845, in create_connection

raise err

File "/usr/lib/python3.10/socket.py", line 833, in create_connection

sock.connect(sa)

ConnectionRefusedError: [Errno 111] Connection refused

During 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 init

self._connect()

File "/usr/local/lib/python3.10/dist-packages/nut2.py", line 112, in _connect

raise PyNUTError("Socket error.")

nut2.PyNUTError: Socket error.

Exit status not 0

Edited 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.