Maybe...ish - I haven't seen those for a while, but had few outages either.
Can you check if the updated (root) user profile or default profile(s)
under /etc mention `mesg n` or similar means of limiting broadcasts?
In your manual `wall` executions, do you see them in the same terminal that
sent the message, or on all terminals (GUI, SSH sessions)? As root or as
any user (as recipient and as sender)?
Jim
On Sun, Nov 10, 2024 at 9:17?PM Matus UHLAR - fantomas via Nut-upsuser <
nut-upsuser at alioth-lists.debian.net> wrote:
> Hello,
>
> I have noticed that (apparensly) since Debian 12 upgrade the WALL
> commands for upsmon.conf don's seem to work.
>
>
> To test I have configured upsmon-dummy.conf to debug this:
>
> NOTIFYCMD /usr/sbin/upssched
>
> NOTIFYFLAG ONBATT SYSLOG+EXEC+WALL
> NOTIFYFLAG ONLINE SYSLOG+EXEC+WALL
>
> the /usr/sbin/upssched gets called:
>
> /lib/nut/upsmon -D -D -D -D -f /etc/nut/upsmon-dummy.conf
>
> and I can see the command being executed:
>
> 15.006263 [D2] do_notify: ntype 0x0001 (ONBATT)
> 15.006273 UPS dummy at localhost on battery
> 15.006598 [D3] Current power value: 1
> 15.006637 [D3] Minimum power value: 1
> Executing command: onbattwarn
>
> Nov 10 20:29:05 xxx upssched[22030]: Executing command: onbattwarn
> Nov 10 20:29:05 xxx upssched-cmd[22033]: The UPS is off-line
>
> 35.008150 [D2] do_notify: ntype 0x0000 (ONLINE)
> 35.008186 UPS dummy at localhost on line power
> 35.008511 [D3] Current power value: 1
> 35.008574 [D3] Minimum power value: 1
> Executing command: ups-back-on-power
>
> Nov 10 20:29:25 xxx upssched[22065]: Executing command: ups-back-on-power
> Nov 10 20:29:25 xxx upssched-cmd[22068]: The UPS is on-line
>
> however the WALL flag does not work.
>
> executing "wall" command manually does work.
>
> Did anyone notice behaviour change?
>
> As I mentioned, I have Debian 12, nut 2.8.0. On Debian 10/11 with nut
> 2.7.4
> wall worked.
>
> --
> Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20241110/cb65ef02/attachment.htm>