Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Losing connection to CyberPower UPS

    Scheduled Pinned Locked Moved UPS Tools
    6 Posts 3 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mtk67
      last edited by

      The NUT package connects to the UPS and the Home Screen widget populates nicely. After some period of time (not sure what it is, but it was <48 hours after a reboot this most recent time) it loses connection. The system logs show "Poll UPS [CyberPower1500AVR] failed - Driver not connected" and a "Connection Refused" error too. If I merely hit "Save" on the Services / UPS / Settings screen, the connection is reestablished. Any ideas?

      I'm on pfSense+ 23.01 (amd64) with the latest system patches and packages.

      M 1 Reply Last reply Reply Quote 0
      • M
        mcury Rebel Alliance @mtk67
        last edited by

        @mtk67 In UPS settings, add:

        44d874da-03e2-4a9e-910a-1ec95da1e8af-image.png

        This is a known issue, you can read more about it here:
        https://forum.netgate.com/topic/102959/nut-package

        dead on arrival, nowhere to be found.

        M 2 Replies Last reply Reply Quote 3
        • M
          mtk67 @mcury
          last edited by

          @mcury Thank you very much for your help. That was quite the long thread and the solution was buried in there. I've added the line and will keep an eye on it. Seems like this did the trick for others, so keeping my fingers crossed. Thanks again.

          1 Reply Last reply Reply Quote 1
          • M
            mtk67 @mcury
            last edited by

            @mcury that workaround definitely improved the situation for me, but it did not resolve it. Upon logging in to the console today it said the UPS was once again not connected. I also noticed that 23.05 is out today so I'll check out the release notes to see if it mentions anything about a fix, though I suspect that would have to come in the NUT package and not the core OS.

            M 1 Reply Last reply Reply Quote 0
            • M
              mcury Rebel Alliance @mtk67
              last edited by mcury

              @mtk67 Try these settings:

              5c3d94ab-2a87-4c7b-a078-2fe69269ce34-image.png

              DEADTIME should be a multiple of POLLFREQ and POLLFREQALERT. Otherwise, you’ll have "dead" UPSes simply because upsmon isn’t polling them quickly enough. Rule of thumb: take the larger of the two POLLFREQ values, and multiply by 3.*

              MAXAGE: upsd usually allows a driver to stop responding for up to 15 seconds before declaring the data "stale". If your driver takes a very long time to process updates but is otherwise operational, you can use MAXAGE to make upsd wait longer.

              dead on arrival, nowhere to be found.

              1 Reply Last reply Reply Quote 3
              • NollipfSenseN
                NollipfSense
                last edited by NollipfSense

                I have the CyberPower 1100va AVR...didn't had any issues. Thank you all for sharing the advance setting, mine is done.

                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                1 Reply Last reply Reply Quote 0
                • stephenw10S stephenw10 moved this topic from pfSense Packages on
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.