The LibreNMS UPS-nut Application doc shows support for multiple UPSs
Yet my graphs show only a single device with no name
I have 2 UPS monitored by Nut. The Nut CGI server see these devices
as listed in my ups.conf (Security info removed for this post)
[CP1500PFCLCD]
driver = "usbhid-ups"
port = "auto"
vendorid = "0764"
productid = "0501"
product = "CP1500PFCLCD"
serial = "000000000000"
vendor = "CPS"
bus = "001"
desc = "PFC Sinewave UPS Series CP1500PFCLCD"
[UPS03]
driver = snmp-ups
port = 192.168.1.221:161
snmp_version = v3
secLevel = XXXXX
secName = XXXXX
authPassword = XXXXXX
authProtocol = XXXXX
privPassword = XXXXXXX
privProtocol = XXXXX
desc = "APC Smart-UPS SMT1500"
Confirm both devices are added to snmpd.conf
# USP-nut
extend ups-nut /etc/snmp/ups-nut.sh CP1500PFCLCD
extend ups-nut /etc/snmp/ups-nut.sh UPS03
Confirmed that there is output from ups-nut.sh
XXXXX@nut01:~ $ /etc/snmp/ups-nut.sh CP1500PFCLCD
100
300
1560
24.0
24
120
116.0
22
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Unknown
XXXXX@nut01:~ $ /etc/snmp/ups-nut.sh UPS03
100
120
5280
27.10
Unknown
Unknown
118
14.30
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
27.90
Results from: ./discovery.php -h 192.168.1.234 -d | ./pbin.sh
https://p.libren.ms/view/1769b805
Results from: ./poller.php -h 192.168.1.234 -r -f -d | ./pbin.sh
https://p.libren.ms/view/3024f74d
validate.php
librenms@librenms:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 24.9.1-106-g8f9b5e592 (2024-11-01T13:26:32+00:00)
DB Schema | 2023_12_21_085427_create_view_port_mac_link (304)
PHP | 8.2.24
Python | 3.11.2
Database | MariaDB 10.11.6-MariaDB-0+deb12u1
RRDTool | 1.7.2
SNMP | 5.9.3
===========================================
[OK] Composer Version: 2.8.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
includes/html/pages/apps/proxmox/vm.inc.php