Getting NUT working with CyberPower UPS

Started by coatmaker618, January 07, 2025, 08:53:50 PM

Previous topic - Next topic
I've got a networked CyberPower UPS that I'm trying to get to work with the NUT plugin for OPNSense.

See attached images for most details but here's a few not shown:

I'm using the netclient "UPS type" (all others are unchecked).

Nut account settings (dropdown under general settings are blank). 
  • Services: Nut: Diagnostics page in web UI is blank.


This is what I see in a terminal that I have open:
```
Broadcast Message from root@OPNsense01
        (no tty) at 14:42 EST...

UPS user@192.168.20.21:80 is unavailable
```
Are there any log files I should be looking at?
Any obvious settings missing?
I did find this post, but it's about a USB connection, not a networked UPS.  So it looks like cyberpower is supported, at least somewhat.
https://forum.opnsense.org/index.php?topic=22203.0

You should probably use SNMP. Works without a problem with an RMCARD205. See screenshot.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Gave that a try and I'm not seeing anything in Diagnostics -- so I assume it's still not working?

I disabled netclient & have the following configs for SNMP.

Enabled SNMP in the RMCARD web UI?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

That would probably help.  It LOOKED enable (allowed access but no access control as allowed) but was not. I enabled version 1 of SNMP instead of 3 (UPS had both) since 3 required authentication.

That aside, still not seeing anything in the NUT web UI for UPS status.

Noticed something else: on the NUT page in OPNSense the service looks like it's running -- however on the OPNSense dashboard it does not report to be running.  So perhaps there's a config issue?  I don't know what to look at, and there's precious little to click around in.  I do not believe this was happening before, and it also takes longer to let me back to the page when I click refresh NUT tool.