Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Troubleshooting • Looking for help configuring NUT with SNMP on a Pi

$
0
0
I am in the process of planning out a home upgrade, which will include multiple UPS devices (server rack, media center, my desk, spouse's desk). Ideally, I'd like to keep an eye on all the UPS devices on a single dashboard that I am not paying a yearly fee for (thanks, APC), so I am looking to set up NUT on a Raspberry Pi, and have it monitor the UPS I currently have online, which will then manage my TrueNAS if there's a power outage.

At this time, I have the UPS online and configured, and the TrueNAS is attached by USB for now. Both devices are online via Ethernet as well - the UPS has an APC Network Management Card in it (not that SmartConnect portal they want you to pay for). I also have a Raspberry Pi 4 online, with NUT installed.

I've cross-posted this in several forums, but keep getting no response or bad information.

Where I am running into trouble is getting NUT to see / talk to the NMC in the UPS. The NMC is online, and I can query it from the Pi using snmpwalk. Details below:

Code:

root@pinut:/home/geoffrey# snmpwalk -c public -v1 10.0.0.3 iso.3.6.1.2.1.1.1.0 = STRING: "APC Web/SNMP Management Card (MB:v4.1.0 PF:v7.2.0 PN:apc_hw05_aos_720.bin AF1:v7.2.0 AN1:apc_hw05_sumx_720.bin MN:AP9631CH HR:05 SN: 5A1928T33303 MD:07/28/2019) (Embedded PowerNet SNMP Agent SW v2.2 compatible)"
(snip of rest of output, it's clear it's responding)

ups.conf:

Code:

[ups-media]  driver = snmp-ups  port = 10.0.0.3  community = public  snmp_version = v1  pollfreq = 15  desc = "Media Center UPS"
What happens when I test this:

Code:

root@pinut:/home/geoffrey# upsc ups-mediaInit SSL without certificate databaseError: Driver not connectedroot@pinut:/home/geoffrey#
My guess is that I am missing something simple in the config, or there's a package I am missing in relation to SNMP. Any insight would be appreciated.

Statistics: Posted by GJSchaller — Mon Jan 12, 2026 8:07 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles