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 multiple NUT servers #5

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

AdeMiller
Copy link

@AdeMiller AdeMiller commented Jan 23, 2021

New Feature

The PR adds support for multiple NUT servers. It uses a new configuration which is backwards compatible with the original single server configuration format. UPSs are now indexed by an ID, "[ups]@[server]". The UI has been updated to support a new server column in the "UPS Devices" view.

Some additional minor fixes:

  • Add link to to "UPS Devices" page on the logo to allow navigation back to the root page from an individual UPS device page.
  • Add support for "Low battery" to status in _get_ups_status()
  • Fix a couple of isses were some fields, e.g. battery.charge, are not set. This can happen for a dummy/heartbeat UPS, which does not pupulate all values. Use .get() with a default value "--" in these cases.

@AdeMiller AdeMiller marked this pull request as ready for review January 23, 2021 05:50
@pageb018
Copy link

pageb018 commented Nov 1, 2021

any update here? Would be cool to add multiple servers.

@devzwf
Copy link

devzwf commented Jan 9, 2022

any update on that ?

@AdeMiller
Copy link
Author

You can use this branch, and I would welcome feedback on it but there is nothing I can do about merging it into main unless @rshipp accepts the changes.

@devzwf
Copy link

devzwf commented Jan 18, 2022

I know it is about 1 year :(
so i go ahead and use your repo....

@devzwf
Copy link

devzwf commented Mar 7, 2022

@AdeMiller i found a small bug when you have multiple UPS monitored and one go offline the web interface do not display anything
where i can report it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants