-
-
Notifications
You must be signed in to change notification settings - Fork 424
upsmon: no notification for login error #3403
Copy link
Copy link
Open
Labels
Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)enhancementimpacts-release-2.8.2Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)impacts-release-2.8.5Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)upsmon
Milestone
Metadata
Metadata
Assignees
Labels
Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)enhancementimpacts-release-2.8.2Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)impacts-release-2.8.5Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks)upsmon
I have a netclient (
MODE=netclient) and configured upsmon.conf with the correct ups and servername, but a wrong username or password:When I now start upsmon I get the expected login failure in syslog:
But I would expect to now see a
UPS ups@upsserver.internal is unavailablemessage every NOCOMMWARNTIME seconds, with my notify script called and so on. But this doesn't happen at all, no unavaliable messages appear.I also did a tcpdump to check what was transmitted over the connection to my upsd:
This looks like upsmon is still able to regularly get status information about the ups, even though the access was denied.
On the upsd side I have this in upsd.users:
That upsd still gives upsmon information about the status of the ups, although the login was denied previously, looks to me like a problem too.
I'm using nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 from Fedora EPEL for RHEL 10.1.