nut-monitor kein connect mehr nach update auf PVE9

aheinz

New Member
Mar 26, 2025
4
0
1
Hi Leute,

nach einem in-place Update auf PVE9, kann sich mein NUT-Monitor nicht mehr mit dem Server verbinden.....

Auf meinem PVE9 laufen die Network UPS Tools direkt auf dem host..., zum Monitoring nutze ich einen LXC wie hier beschrieben, hat vor dem update auch prima funktioniert.
Nur jetzt funzt das eben in dem LXC nicht mehr nach dem Update...
1759681462930.png
Log vom LXC:
2025-10-05T16:22:14.264894+00:00 nutmonitor nut-monitor[1112]: UPS ups@192.168.10.251 is unavailable
2025-10-05T16:22:14.265439+00:00 nutmonitor nut-monitor[1170]: Network UPS Tools upsmon 2.8.1
2025-10-05T16:22:14.265646+00:00 nutmonitor nut-monitor[1170]: Warning: no shutdown command defined!
2025-10-05T16:24:33.520665+00:00 nutmonitor nut-monitor[1112]: UPS [ups@192.168.10.251]: connect failed: Connection failure: Connection timed out
2025-10-05T16:25:01.988274+00:00 nutmonitor CRON[1174]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2025-10-05T16:26:52.785180+00:00 nutmonitor nut-monitor[1112]: UPS [ups@192.168.10.251]: connect failed: Connection failure: Connection timed out

Auf dem host sieht soweit für mich alles gut aus....

systemctl status nut-server
● nut-server.service - Network UPS Tools - power devices information server
Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled; preset: enabled)
Active: active (running) since Sun 2025-10-05 17:37:05 CEST; 41min ago
Invocation: 93dafe367e2f422a9371cf0fbc367fdc
Process: 791362 ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=0/SUCCESS)
Main PID: 791363 (upsd)
Tasks: 1 (limit: 38164)
Memory: 544K (peak: 1.7M)
CPU: 358ms
CGroup: /system.slice/nut-server.service
└─791363 /lib/nut/upsd -F

Oct 05 17:37:50 proxmox upsd[791363]: Can't connect to UPS [heartbeat] (dummy-ups-heartbeat): No such file or directory
Oct 05 17:37:50 proxmox nut-server[791363]: Can't connect to UPS [heartbeat] (dummy-ups-heartbeat): No such file or directory
Oct 05 17:38:08 proxmox nut-server[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat
Oct 05 17:38:08 proxmox upsd[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat
Oct 05 17:38:15 proxmox nut-server[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat
Oct 05 17:38:15 proxmox upsd[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat
Oct 05 17:38:19 proxmox nut-server[791363]: Connected to UPS [ups]: usbhid-ups-ups
Oct 05 17:38:19 proxmox upsd[791363]: Connected to UPS [ups]: usbhid-ups-ups
Oct 05 17:38:30 proxmox nut-server[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat
Oct 05 17:38:30 proxmox upsd[791363]: Connected to UPS [heartbeat]: dummy-ups-heartbeat

nut-scanner -U
Cannot load SNMP library (libnetsnmp.so.40) : file not found. SNMP search disabled.
Cannot load XML library (libneon.so.27) : file not found. XML search disabled.
Cannot load IPMI library (libfreeipmi.so.17) : file not found. IPMI search disabled.
Scanning USB bus.
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "0463"
productid = "FFFF"
product = "Ellipse PRO"
serial = "G364P14018"
vendor = "EATON"
bus = "001"
device = "002"
busport = "006"
###NOTMATCHED-YET###bcdDevice = "0100"
root@proxmox:/etc/nut#

Hat das jemand auch schon mal gehabt oder hat jemand eine Tip oder gar ein Lösung?
 
Last edited:
Hallo @aheinz,

der Connection timed out deutet auf ein Netzwerkproblem hin, welches sehr wahrscheinlich durch die Firewall des PVE-Hosts verursacht wird. Bitte stelle sicher, dass der Port 3493/tcp für den LXC erreichbar ist.

Sollte das nicht helfen, prüfe bitte in der upsd.conf auf dem Host, ob eine LISTEN-Anweisung den Zugriff eventuell auf localhost beschränkt.
 
upsd.conF:
# LISTEN <IP address or name> [<port>]
LISTEN 127.0.0.1 3493
#LISTEN ::1 3493
LISTEN 0.0.0.0 3493

sollte meiner Meinung nach so passen

Firewall weis ich leider keine andere Möglichkeit das zu überprüfen außer das hier:
1759917582681.png
 
Last edited:
was soll das für eine Änderung sein? In der nut.conf ist doch nur der modus zu definieren

# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
# some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS
# protecting the local system. This implies to start the 3 NUT layers (driver,
# upsd and upsmon) and the matching configuration files. This mode can also
# address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
# some more network access controls (firewall, tcp-wrappers) and possibly a
# specific LISTEN directive in upsd.conf.
# Since this MODE is opened to the network, a special care should be applied
# to security concerns.
# - netclient: this mode only requires upsmon.
#
# IMPORTANT NOTE:
# This file is intended to be sourced by standard POSIX shell scripts (so
# there is no guaranteed `export VAR=VAL` syntax) and by systemd on Linux.
# You MUST NOT use spaces around the equal sign!

MODE=netserver

# Uncomment this to allow starting the service even if ups.conf has no device
# sections at the moment. This environment variable overrides the built-in
# "false" and an optional same-named default flag that can be set in upsd.conf:
#ALLOW_NO_DEVICE=true
#export ALLOW_NO_DEVICE