<div dir="ltr">Hi all,<br>brand new APC Backup UPS 950 VA BX950MI here, controlled by nut 2.8.0 (Debian package version 2.8.0-7) on Debian 12.8<br><div>Current nut scenario and config:</div><div><br></div><div># nut-scanner -U<br>Scanning USB bus.<br>[nutdev1]<br> driver = "usbhid-ups"<br> port = "auto"<br> vendorid = "051D"<br> productid = "0002"<br> product = "Back-UPS BX950MI"<br> serial = "9B24xxxxxxxx"<br> vendor = "American Power Conversion"<br> bus = "001"</div><div>---<br></div><div>/etc/nut/nut.conf file<br>...<br>#MODE=none<br>MODE=standalone<br>---<br>/etc/nut/ups.conf file<br>...<br>[bx950mi]<br> driver = "usbhid-ups"<br> port = "auto"<br> desc = "Back-UPS BX950MI"<br>---<br>/etc/nut/upsd.conf file<br>...<br># LISTEN <IP address or name> [<port>]<br>LISTEN 127.0.0.1 3493<br>...<br>---<br>/etc/nut/upsd.users file<br>...<br>[nutro]<br> password = xxx<br> upsmon primary<br><br>[nutadm]<br> password = xxx<br> actions = SET<br> instcmds = ALL<br>---<br>/etc/nut/upsmon.conf file<br>...<br>RUN_AS_USER root<br><br>MONITOR bx950mi@localhost 1 nutro xxx primary<br><br>NOTIFYCMD "/root/tg.sh"<br><br>NOTIFYMSG ONLINE "UPS %s on line power"<br>NOTIFYMSG ONBATT "UPS %s on battery"<br>NOTIFYMSG LOWBATT "UPS %s battery is low"<br>NOTIFYMSG FSD "UPS %s: forced shutdown in progress"<br>NOTIFYMSG COMMOK "Communications with UPS %s established"<br>NOTIFYMSG COMMBAD "Communications with UPS %s lost"<br>NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"<br>NOTIFYMSG REPLBATT "UPS %s battery needs to be replaced"<br>NOTIFYMSG NOCOMM "UPS %s is unavailable"<br>NOTIFYMSG NOPARENT "upsmon parent process died - shutdown impossible"<br><br>NOTIFYFLAG ONLINE SYSLOG+EXEC<br>NOTIFYFLAG ONBATT SYSLOG+EXEC<br>NOTIFYFLAG LOWBATT SYSLOG+EXEC<br>NOTIFYFLAG FSD SYSLOG+EXEC<br>NOTIFYFLAG COMMOK SYSLOG+EXEC<br>NOTIFYFLAG COMMBAD SYSLOG+EXEC<br>NOTIFYFLAG SHUTDOWN SYSLOG+EXEC<br>NOTIFYFLAG REPLBATT SYSLOG+EXEC<br>NOTIFYFLAG NOCOMM SYSLOG+EXEC<br>NOTIFYFLAG NOPARENT SYSLOG+EXEC</div><div>---</div><div>UPSLOG command:</div><div>upslog
-s bx950mi@localhost -f '%TIME @Y@m@d @H@M@S% %VAR battery.charge% %VAR
input.voltage% %VAR ups.load% [%VAR ups.status%] %VAR ups.temperature%
%VAR input.frequency% %VAR battery.runtime%' -l /var/log/nutupslog</div><div>---<br></div><div><br></div><div>tg.sh
is a simple bash script in order to get NUT notifications on Telegram; I
still receiving a lot of LOWBATT and REPLBATT even if battery seems
charged as per upslog. For example:</div><div><br></div><div>Telegram notifications:<br>Sun Dec 1 05:39:51 AM CET 2024<br>Notify type: LOWBATT <br>Notify message: UPS bx950mi@localhost battery is low<br>Sun Dec 1 05:39:51 AM CET 2024<br>Notify type: REPLBATT <br>Notify message: UPS bx950mi@localhost battery needs to be replaced</div><div>...</div><div>Sun Dec 1 12:05:17 PM CET 2024<br>Notify type: LOWBATT <br>Notify message: UPS bx950mi@localhost battery is low</div><div><br></div><div>UPSLOG output during the same window:</div><div>20241201 053909 99 224.0 0 [OL CHRG] NA NA 3548<br>20241201 053939 99 224.0 0 [OL CHRG] NA NA 3548<br>20241201 054009 99 219.0 0 [OL CHRG] NA NA 3548</div><div>...</div><div>20241201 120509 100 221.0 0 [OL CHRG] NA NA 3584<br>20241201 120539 100 221.0 0 [ALARM OL] NA NA 3584<br>20241201 120609 100 221.0 0 [OL CHRG] NA NA 3584<br></div><div><br></div><div>It's
unclear for me if these notifications are due to a bad NUT
configuration I applied (so please suggest needed tweaks) or it could be
a faulty UPS so I'll ask for a replacement.<br>Thanks for any help.</div><font color="#888888"><div>-f</div></font></div>