I have messed around with NUT to trigger a graceful shutdown of my home server running Ubuntu Server. I have struggled with setting NUT up on bare metal, but would like a gui anyway. I saw PVE-UPS which looks good, but I think but I think it is meant for Proxmox. Any alternatives, or a spin of PVE-UPS for docker compose anybody know about?

  • neidu4@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    Note to self: Get around to wiring my UPS onto my management network for monitoring and graceful shutdown of non-essential stuff.

    • Ajen@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 hour ago

      It’s also a good idea to gracefully shutdown anything essential that isn’t using a read-only rootfs. I’ve got my NAS configured to shut down after 5 minutes, but my firewall and frigate server keep running until the battery is almost dead, then safely shut down if the power still hasn’t come back yet.

  • mbirth 🇬🇧@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 hours ago

    What was the difficulty with NUT for you? The setup is pretty straightforward, IMHO.

    Should be easy to wrap in a container, too.

    • stoicmaverick@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I was hoping to setup a server and clients to shutdown the other Raspberry Pis and such, scattered around the house if the main server senses a power failure.

      Also, I had an issue where it insisted on triggering a shutdown the SECOND the UPS triggered, even if it came right back. I might take another swing at it at some point, but I liked the look of that PVE-UPS things.

      • mbirth 🇬🇧@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        On clients you mostly have to set MODE=netclient in the nut.conf and modify the upsmon.conf according to the manual and detailed manual. By default, it should only shutdown systems when reaching a “low battery” situation, not immediately when switching to battery power.