<div dir="auto">It is indeed meaningful for primaries, I guess the message should be conditional on that.<div dir="auto"><br></div><div dir="auto">Jim</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Apr 1, 2026, 22:56 Dan Langille 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>
After a recent upgrade from 2.8.2 to 2.8.4, a restart of upsmon gave this message:<br>
<br>
<br>
---<br>
% sudo service nut_upsmon restart<br>
Network UPS Tools upsmon 2.8.4 release<br>
Starting nut_upsmon.<br>
Network UPS Tools upsmon 2.8.4 release<br>
UPS: <a href="mailto:ups04@gw01.int.example.org" target="_blank" rel="noreferrer">ups04@gw01.int.example.org</a> (secondary) (power value 1)<br>
UPS: heartbeat (monitoring only)<br>
No POWERDOWNFLAG value was configured in /usr/local/etc/nut/upsmon.conf!<br>
POWERDOWNFLAG should be a path to file that is normally writeable for root user, and remains at least readable late in shutdown after all unmounting completes.<br>
---<br>
<br>
<br>
Background: The UPS is connected to gw01 mentioned above; the above host is a secondary.<br>
<br>
Reading docs, it seems that POWERDOWNFLAG is meant for primaries, not secondaries.<br>
<br>
'and a POWERDOWNFLAG if this machine is a "primary" system connected to the UPS and drives its late-shutdown power-off command in case of an emergency.'<br>
<br>
re: <a href="https://networkupstools.org/docs/man/upsmon.conf.html" rel="noreferrer noreferrer" target="_blank">https://networkupstools.org/docs/man/upsmon.conf.html</a><br>
<br>
<br>
Am I doing this wrong? This is my secondary configuration<br>
<br>
<br>
---<br>
[20:29 r730-01 dvl /usr/local/etc/nut] % sudo cat upsmon.conf.6958.2025-04-02@22:46:09~ <br>
# Ansible managed<br>
<br>
MONITOR <a href="mailto:ups04@gw01.int.example.org" target="_blank" rel="noreferrer">ups04@gw01.int.example.org</a> 1 r730-01 myrealpassword secondary<br>
MONITOR heartbeat 0 local-heartbeat myrealpassword primary<br>
SHUTDOWNCMD /sbin/shutdown -h +0<br>
NOTIFYCMD ONLINE EXEC<br>
NOTIFYCMD ONBATT EXEC<br>
NOTIFYCMD /usr/local/sbin/upssched<br>
---<br>
<br>
<br>
The line I later added, and which silenced the messages, is:<br>
<br>
POWERDOWNFLAG /var/run/nut-killpower<br>
<br>
I chose that line because that directory is cleared upon OS restart:<br>
<br>
re <a href="https://networkupstools.org/docs/user-manual.chunked/ar01s06.html" rel="noreferrer noreferrer" target="_blank">https://networkupstools.org/docs/user-manual.chunked/ar01s06.html</a> <br>
<br>
"... /etc/killpower, or preferably be /var/run/nut/killpower or /run/nut/killpower in a temporary file system that disappears after reboot"<br>
<br>
Thank you.<br>
<br>
-- <br>
Dan Langille<br>
<a href="mailto:dan@langille.org" target="_blank" rel="noreferrer">dan@langille.org</a><br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>