The Robservatory

Robservations on everything…


Using NUT to monitor a CyberPower UPS in pfSense

This post is probably of interest only to me, and I'm posting it just because I'm getting tired of remembering where I stored this tidbit on my Mac.

Our home router is a Protectli box running pfSense firewall/router software; the Protectli box is connected to a CyberPower UPS. Within pfSense, you can install the Network UPS Tools package (called NUT in pfSense) to monitor and report on the UPS; here's how it looks in the overview screen:

After recently updating to a newer Protectli box, however, all I saw was a message that read "Cannot communicate with UPS" (or something close to that). I knew I had a fix for this issue somewhere, but I couldn't remember where. Today I found it, so also today, it goes on my blog so I'll always know where it is…

If there happens to be more than one person out there with my setup, and your CyberPower UPS isn't talking to the NUT plug-in in pfSense, here's the fix:

  1. Login via Terminal to the pfSense box, then use item (8) to exit to the shell.
  2. Run these two commands:
    $ /usr/local/sbin/upsdrvctl -u root start
    $ service devd restart
  3. Exit the connection to your pfSense box.

Once I did the above, communications were restored and the status box returned.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Robservatory © 2023 • Privacy Policy Built from the Frontier theme