<div dir="ltr"><div>Maybe...ish - I haven't seen those for a while, but had few outages either.</div><div><br></div><div>Can you check if the updated (root) user profile or default profile(s) under /etc mention `mesg n` or similar means of limiting broadcasts?</div><div><br></div><div>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)?</div><div><br></div><div>Jim</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 10, 2024 at 9:17 PM Matus UHLAR - fantomas via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I have noticed that (apparensly) since Debian 12 upgrade the WALL <br>
commands for upsmon.conf don's seem to work.<br>
<br>
<br>
To test I have configured upsmon-dummy.conf to debug this:<br>
<br>
NOTIFYCMD /usr/sbin/upssched<br>
<br>
NOTIFYFLAG ONBATT SYSLOG+EXEC+WALL<br>
NOTIFYFLAG ONLINE SYSLOG+EXEC+WALL<br>
<br>
the /usr/sbin/upssched gets called:<br>
<br>
/lib/nut/upsmon -D -D -D -D -f /etc/nut/upsmon-dummy.conf<br>
<br>
and I can see the command being executed:<br>
<br>
15.006263 [D2] do_notify: ntype 0x0001 (ONBATT)<br>
15.006273 UPS dummy@localhost on battery<br>
15.006598 [D3] Current power value: 1<br>
15.006637 [D3] Minimum power value: 1<br>
Executing command: onbattwarn<br>
<br>
Nov 10 20:29:05 xxx upssched[22030]: Executing command: onbattwarn<br>
Nov 10 20:29:05 xxx upssched-cmd[22033]: The UPS is off-line<br>
<br>
35.008150 [D2] do_notify: ntype 0x0000 (ONLINE)<br>
35.008186 UPS dummy@localhost on line power<br>
35.008511 [D3] Current power value: 1<br>
35.008574 [D3] Minimum power value: 1<br>
Executing command: ups-back-on-power<br>
<br>
Nov 10 20:29:25 xxx upssched[22065]: Executing command: ups-back-on-power<br>
Nov 10 20:29:25 xxx upssched-cmd[22068]: The UPS is on-line<br>
<br>
however the WALL flag does not work.<br>
<br>
executing "wall" command manually does work.<br>
<br>
Did anyone notice behaviour change?<br>
<br>
As I mentioned, I have Debian 12, nut 2.8.0. On Debian 10/11 with nut 2.7.4 <br>
wall worked.<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>