Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Unifi PDU? #26

Open
kashalls opened this issue Jan 3, 2024 · 6 comments
Open

Add support for Unifi PDU? #26

kashalls opened this issue Jan 3, 2024 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kashalls
Copy link

kashalls commented Jan 3, 2024

There is already support for unpoller to fetch the metrics for the Unifi PDU Pro.
For prometheus, they are made available at unpoller_device_outlet_.

Is it possible to have a dashboard made for the pdu?

@platinummonkey
Copy link
Contributor

Certainly. I don’t own one myself to do anything meaningful, but I am happy to review PRs - attach a screenshot please!

@platinummonkey platinummonkey added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 3, 2024
@kashalls
Copy link
Author

kashalls commented Jan 3, 2024

Certainly. I don’t own one myself to do anything meaningful, but I am happy to review PRs - attach a screenshot please!

I haven't designed anything quite yet, I'm struggling to figure out a way that this would turn out nice and usable at this moment.

@davidnewhall
Copy link
Member

We need someone with one of these devices to make us a nice panel for it.

@kashalls
Copy link
Author

kashalls commented Feb 5, 2024

Would anyone be willing to work with me to design this? I'm still trying to figure out the right way to make it. I have the PDU.

@davidnewhall
Copy link
Member

The USW dashboard has panels for watts, amps, etc on PoE ports. You can use those as an example.

@kashalls
Copy link
Author

kashalls commented Nov 18, 2024

Well, it took me almost a whole year to get it done, but I finally got something I am happy with.

3JPMfqA
7K1doew

I am not sure how to set up the dynamic datasource, and this is only in Prometheus. I would need someone else to convert it to influxdb but I do not know how. Let me know if you have any questions, and I will make a PR later today.

Edit: Here's the dashboard itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants