[Nut-upsuser] Installing and running NUT on OpenBSD

Ben Short ben at benshort.co.uk
Mon Feb 10 14:28:16 GMT 2025


Hi,

I'm trying to get NUT running.

I've installed it with pkg_add nut

I can see my UPS as follows:

# nut-scanner
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search 
disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI 
search disabled.
Scanning USB bus.
No start IP, skipping NUT bus (old connect method)
Scanning NUT simulation devices.
[nutdev-usb1]
         driver = "usbhid-ups"   # alternately: apc_modbus
         port = "auto"
         vendorid = "051D"
         productid = "0003"
         product = "Smart-UPS X 2200 FW:UPS 07.4 / ID=01003"
         serial = "AS2039254737"
         vendor = "American Power Conversion"
         # bus = "000"
         # device = "005"
         # busport = "004"

I've added the details to /etc/nut/ups.conf

But get the following error:

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.8.2
Network UPS Tools - Generic HID driver 0.53 (2.8.2)
USB communication driver (libusb 1.0) 0.47
libusb1: Could not open any HID devices: no USB buses found
No matching HID UPS found
upsnotify: failed to notify about state 4: no notification tech defined, 
will not spam more about it
Driver failed to start (exit status=1)

Any ideas?



More information about the Nut-upsuser mailing list