Skip to content

systutils/nut: Support any arbitrary driver #5275

@yodaldevoid

Description

@yodaldevoid

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
NUT supports many UPS drivers, and more may be added at any point. Driver support has been added to the plugin as requested by uses, but this is untenable in the long term.

Describe the solution you'd like
Users should be able to enter an arbitrary UPS driver just as a text field. The driver could be checked against the supported drivers scraped from /usr/local/etc/nut/driver.list, but I don't think this is absolutely necessary. Any unsupported drivers will simply not start and throw an error.

Describe alternatives you've considered

  • Support for each driver could be added as requested by users.
  • The UPS could be managed by another system and OPNsense monitors that using netclient mode.
  • The plugin could be ignored completely and NUT configured manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions