Nut-ups: Difference between revisions

From Alpine Linux
(Created page with "[WORK IN PROGRESS] == Installing and Configuring Network UPS Tools (NUT) == This wiki page shows how to install and configure the NUT package to monitor and report the statistics for a USB attached Uninterruptible Power Supply (UPS). The UPS model used in the examples is an APC SmartUPS 1000, but any UPS on the [https://networkupstools.org/stable-hcl.html list of compatible models] should work.")
 
No edit summary
Line 4: Line 4:


This wiki page shows how to install and configure the NUT package to monitor and report the statistics for a USB attached Uninterruptible Power Supply (UPS). The UPS model used in the examples is an APC SmartUPS 1000, but any UPS on the [https://networkupstools.org/stable-hcl.html list of compatible models] should work.
This wiki page shows how to install and configure the NUT package to monitor and report the statistics for a USB attached Uninterruptible Power Supply (UPS). The UPS model used in the examples is an APC SmartUPS 1000, but any UPS on the [https://networkupstools.org/stable-hcl.html list of compatible models] should work.
=== Determining Your UPS USB Parameters ===
The first step is to plug in the USB cable between your UPS and your Alpine host to see how it appears to the system. This is done with the `dmesg` command. See the example below.
<nowiki>
dmesg
[400269.428612] usb 1-3: new low-speed USB device number 3 using xhci_hcd
[400269.580728] usb 1-3: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 0.06
[400269.580751] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[400269.580759] usb 1-3: Product: Smart-UPS 1000 FW:600.3.D USB FW:1.4
[400269.580765] usb 1-3: Manufacturer: American Power Conversion
[400269.580771] usb 1-3: SerialNumber: AS0235210142
[400269.687883] usbcore: registered new interface driver usbhid
[400269.687894] usbhid: USB HID core driver
[400269.698356] hid-generic 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Smart-UPS 1000 FW:600.3.D USB FW:1.4] on usb-0000:00:15.0-3/input0
</nowiki>

Revision as of 23:00, 9 October 2024

[WORK IN PROGRESS]

Installing and Configuring Network UPS Tools (NUT)

This wiki page shows how to install and configure the NUT package to monitor and report the statistics for a USB attached Uninterruptible Power Supply (UPS). The UPS model used in the examples is an APC SmartUPS 1000, but any UPS on the list of compatible models should work.

Determining Your UPS USB Parameters

The first step is to plug in the USB cable between your UPS and your Alpine host to see how it appears to the system. This is done with the `dmesg` command. See the example below.

 dmesg
 
 [400269.428612] usb 1-3: new low-speed USB device number 3 using xhci_hcd
 [400269.580728] usb 1-3: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 0.06
 [400269.580751] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
 [400269.580759] usb 1-3: Product: Smart-UPS 1000 FW:600.3.D USB FW:1.4
 [400269.580765] usb 1-3: Manufacturer: American Power Conversion
 [400269.580771] usb 1-3: SerialNumber: AS0235210142
 [400269.687883] usbcore: registered new interface driver usbhid
 [400269.687894] usbhid: USB HID core driver
 [400269.698356] hid-generic 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Smart-UPS 1000 FW:600.3.D USB FW:1.4] on usb-0000:00:15.0-3/input0