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.

[Plugin] Prometheus unRAID Plugins

Featured Replies

On 7/3/2021 at 4:25 PM, ich777 said:

ATTENTION

Please note if you restart your PiHole container the Exporter will stop and you have to manually start it from the plugin configuration page with the "START" button.

 

This is also applies if you have CA Backup installed and the container is beeing backed up.

 

To workaround that you don't have to manually restart it after each CA Backup do the following steps:

 

  1. Go to Settings and click on the bottom on "Backup/Restore Appdata":
    grafik.png.0045d5a3871d1f5740fcca147981c1a1.png
     
  2. Confirm the Warning that pops up and scroll all the way down to the bottom and click on "Show Advanced Settings":
    grafik.png.9efa350bcd19143bc41507d2df57e09b.png
     
  3. At Pi-Hole make sure that you click on the switch so that it shows "Don't Stop":
    grafik.png.70506f1b2641d2d30f837561a74bbc72.png
     
  4. Scroll down to the bottom and click "Apply":
    grafik.png.15a5a572f5ca76bdf74d3581679ca1df.png

Quick question: is there a command to manually enable the pihole exporter?
I see, that i can add a custom start script to the backup tool - could I use this to enable the exporter after restarting pihole?

image.thumb.png.e52854c64d8941bfd3410c5f39cfeac1.png

  • Replies 569
  • Views 135.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Prometheus Fritzbox Exporter   Download and install the Prometheus Fritzbox Exporter plugin from the CA App:   Log in to your Fritzbox and go to "System -> FRITZ!Box-Benu

  • DEPRECATED Please use the Docker container from here -----------------------------------------------------------   Prometheus PiHole Exporter   Note: You can connect t

  • Prometheus nvidia-smi Exporter   (For this Exporter you need to have the Nvidia-Driver plugin installed and made sure that you Nvidia Card is not bound to VFIO) If you want to watch the

Posted Images

  • Author
23 minutes ago, zAch523 said:

Quick question: is there a command to manually enable the pihole exporter?

No, at least not an easy one.

Does the exporter stop after you've restarted PiHole?

21 hours ago, ich777 said:

Does the exporter stop after you've restarted PiHole?

No it seems to keep running - I'm sorry. I understood from your guide, that I need to make sure to manually start the exporter again. But if i stop PiHole and then start it again, the exporter seemed to stay awake.

  • Author
32 minutes ago, zAch523 said:

No it seems to keep running - I'm sorry. I understood from your guide, that I need to make sure to manually start the exporter again. But if i stop PiHole and then start it again, the exporter seemed to stay awake.

I will look into that and hack together a script for you if that's good enough...

 

EDIT: Ah wait, that's not possible, that's a Docker container or am I wrong? The script need to run directly on the server and not from a Docker container.

I may have missed it, but is there any sort of ISP speed test plugin?

  • Author
2 minutes ago, bluesfan77 said:

I may have missed it, but is there any sort of ISP speed test plugin?

Not from my side and it's also not planned.

  • 2 weeks later...

@ich777 i added some values (fans RPM,some Temperatures, etc) from HWinfo to Afterburner and they exported OK.

 

but the problem with Watts,Voltage,Current from PSU :

 

image.thumb.png.db9b0d5c3d881dbb61db974d63b5548d.png

we have 3.3V - 5V - 12V and same for current and watts, but exporter export all tree units for same name afterburner_v_v 

so we can choose only one of 3 units...

 

can it be fixed somehow maybe in afterburner setting? or its exporter problem ?

expoter dont take the name from afterburner ?

 

other staff added like temperatures and fans working well .

 

  • Author
1 hour ago, Masterwishx said:

or its exporter problem ?

Seems like an issue with the exporter.

I would recommend that you‘ve report that over on the exporter GitHub Issue tracker over here.

6 hours ago, ich777 said:

I would recommend that you‘ve report that over on the exporter GitHub Issue tracker over here.

 

i opened issue in github but its 2years old and mantainer not visible about half year.

but i fixed it by changing the name from +5v to five v (int to string) and its working ...

  • 4 weeks later...

Hey @ich777, thanks for supporting these plugins! I recently tried out the smartctl exporter and opened a PR for more NVMe data: https://github.com/ich777/unraid-prometheus_smartctl_exporter/pull/1

 

May I ask why you never released the plugin? It works fine for me. I read the comments about spinning up sleeping disks, which is not a problem for me. Is that the only reason? I saw some code that should avoid this, so I assume this was already fixed? I think its a fine addition to the plugin list!

  • Author
1 hour ago, Strayer said:

opened a PR

I already saw that bit haven‘t got the chance to go through all of that, will review it shortly and answer on GitHub if that‘s fine for you. :)

9 minutes ago, ich777 said:

I already saw that bit haven‘t got the chance to go through all of that, will review it shortly and answer on GitHub if that‘s fine for you. :)

Of course, no rush! I wasn't sure if you'd rather like to handle contributions here or on Github, so I decided to… uhh, spam, I guess… sorry about that :D

@ich777

Have you heard any new issues from other people here that the Prometheus Pi-Hole Exported is not working?

 

For some context, I had the exporter configured and shipping metrics to Prometheus and Grafana. My server crashed earlier this week and now the exporter will no longer start with the same config I had set before. I've reinstalled both the Pi-Hole app and the exported plugin with no luck.

 

Current config:

Pi-Hole Exporter

- Pi-Hole static IP address, br0 (can see it on my network)

- port 80

- New API key from fresh install

 

Prometheus yml:

- unraid IP address :9617

 

The service will start if I set the exporter Pi-Hole host IP to my servers IP but will not work if I set it to the Pi-Holes static IP. Makes me think there is some issue with host access even though it is set to, "enabled" in the docker setting.

 

Any idea on what might be going on here?

Edited by DEZ

  • Author
51 minutes ago, DEZ said:

Have you heard any new issues from other people here that the Prometheus Pi-Hole Exported is not working?

Not yet.

 

52 minutes ago, DEZ said:

The service will start if I set the exporter Pi-Hole host IP to my servers IP but will not work if I set it to the Pi-Holes static IP.

Do you run PiHole in a Docker container on br0 correct?

 

52 minutes ago, DEZ said:

Makes me think there is some issue with host access even though it is set to, "enabled" in the docker setting.

Have you tried to restart the Docker service yet (Disable it and Enable it again).

3 minutes ago, ich777 said:

Not yet.

 

Do you run PiHole in a Docker container on br0 correct?

 

Have you tried to restart the Docker service yet (Disable it and Enable it again).

Thanks for the fast reply! 

 

Correct, Pi-Hole is run in a Docker container on br0.

 

Yes, I've disabled and enabled the docker service but still same issue.

 

I'm going to restart the server and see if that takes care of the issue, I'll report back if anything changes.

Reboot of the server fixed the problem :) 

  • 3 weeks later...

@ich777 Everything works flawless, many thanks for your tutorials and your time spent on creating plugins. words of appreciation.

Hi there, 

i was able to successfully install:

- nvidia-smi Exporter

- PiHole Exporter

- Fritzbox Exporter

 

Only Fritzbox Exporter (for my 7590) gives me a strange output regarding the DSL Link Status:

 

image.png.47e3295ee9fe96370de20b6819511d5c.png

 

Any idea how to fix that? Thank you!

Edited by Civic1201

  • Author
53 minutes ago, Civic1201 said:

Only Fritzbox Exporter (for my 7590) gives me a strange output regarding the DSL Link Status:

I don't have a Fritzbox but maybe @sonic6 or @alturismo know what to do?

2 hours ago, ich777 said:

I don't have a Fritzbox but maybe @sonic6 or @alturismo know what to do?

i had to manuelly change something in grafana source for this tile when i used it, you know i switched to my HA Dash with my personal scripts ;)

13 hours ago, ich777 said:

I don't have a Fritzbox but maybe @sonic6 or @alturismo know what to do?

@Civic1201

This is my source for DSL Link Status:

gateway_connection_status{connection="Physical Link"}

 

@sonic6

Here is a screenshot from the source:

image.thumb.png.bb75f9e7ddfac943db7c2d97876566d1.png

49 minutes ago, Civic1201 said:

@sonic6

Here is a screenshot from the source:

image.thumb.png.bb75f9e7ddfac943db7c2d97876566d1.png

What is shown here?

image.thumb.png.b57e327462287311a285374cf3b6c47d.png

I have the same values like you:

 

image.png.8fa49b2c1d40e0facbad90209ba032d4.png

 

I am running an Pi3+ as PiHole + entry in Fritzbox settings (if it´s important).

  • 2 weeks later...

@ich777 I submitted a pull request against the smartctl exporter textfile collector. There was a spelling mistake in the one nested if conditional when checking node_exporters settings.cfg causing it to always return null. I also did some minor bash syntax cleanup in that nested IF.

 

Also wondering did you have any plans to update node-exporter to 1.5.0 and would be open to a pull request to enable the cpu info collector by default?

 

 

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.