THIS IS systemctl list-units | grep UPS [email protected] loaded active running Network UPS Tools - device driver for NUT device 'back-ups' nut-monitor.service loaded active running Network UPS Tools - power device monitor and shutdown controller nut-server.service loaded active running Network UPS Tools - power devices information server nut-driver.target loaded active active Network UPS Tools - target for power device drivers on this system nut.target loaded active active Network UPS Tools - target for power device drivers, data server and monitoring clien t (if enabled) on this system
and this is UPSMON.CONF lines # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. MONITOR back-ups 1 monmaster 4L[p9<0Vi|Z>xKgK master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD "/sbin/upssched" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 555 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 ________________________________ From: Nut-upsuser <nut-upsuser-bounces+princemodey=hotmail....@alioth-lists.debian.net> on behalf of [email protected] <[email protected]> Sent: Saturday, September 7, 2024 2:00 PM To: [email protected] <[email protected]> Subject: Nut-upsuser Digest, Vol 231, Issue 2 Send Nut-upsuser mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nut-upsuser digest..." Today's Topics: 1. Re: NUT shutsdown my UPS after a period of time even when power is back (Roger Price) 2. Re: NUT shutsdown my UPS after a period of time even when power is back (Roger Price) 3. Re: Nut-upsuser Digest, Vol 231, Issue 1 (Heath Smith) ---------------------------------------------------------------------- Message: 1 Date: Fri, 6 Sep 2024 17:32:57 +0200 (CEST) From: Roger Price <[email protected]> To: Mega DooOooM via Nut-upsuser <[email protected]> Subject: Re: [Nut-upsuser] NUT shutsdown my UPS after a period of time even when power is back Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" On Fri, 6 Sep 2024, Mega DooOooM via Nut-upsuser wrote: > OS: Openmediavault 7.4.7-1 > NUT version: 7.0.4-1 ? NUT is currently at version 2.8 . > Intalled from OMV plugin installer > MY UPS: APC BX1200MI-GR > > my problem that i need help with is as follow: > > so what's happening is if my gaming PC / router / switch are connected and > power is down > the UPS switches normally without issues from AC to battery and vice versa > when the power is back to the UPS > > BUT when you add the SERVER PC and NUT commands the SERVER PC to shut down > here where the problem occurs the UPS switches to battery mode > and NEVER switches back to AC mode even though the power is back > and what is worse is that the UPS restarts itself after about 2 to 3 min > i'm contacting?you directly because NUT is the reason for the issue IDK if it > is a bug or intended? > and in your documentation i saw that upsmon is the one controlling the UPS > and i don't see how to properly do it when NUT command my > SERVER PC to shut down after 15 sec when on battery and the server pc which > has upsmon is off > what i want the UPS to do: > After NUT commands My server to shut down i want my UPS to keep running > because there are other equipments connected to the UPS that i > don't want them to shut down and also i want the UPS when the power is back > to switch back to AC mode without needing to power cycle > itself and shutting down my ROUTER and gaming PC with it It would be good to see your file upsmon.conf to get a better understanding of what is happening. Leave out the comments in that file. Roger ------------------------------ Message: 2 Date: Fri, 6 Sep 2024 17:46:57 +0200 (CEST) From: Roger Price <[email protected]> To: Mega DooOooM via Nut-upsuser <[email protected]> Subject: Re: [Nut-upsuser] NUT shutsdown my UPS after a period of time even when power is back Message-ID: <[email protected]> Content-Type: text/plain; format=flowed; charset=US-ASCII If your setup uses systemd, it would be good to see the result of command systemctl list-units | grep UPS Roger ------------------------------ Message: 3 Date: Fri, 6 Sep 2024 13:27:38 -0400 From: Heath Smith <[email protected]> To: [email protected] Subject: Re: [Nut-upsuser] Nut-upsuser Digest, Vol 231, Issue 1 Message-ID: <cadz59oczsrjt3c9txhdcagfwuyi_fxtqhywjr0krxasezjw...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" As fast as I know, the standard NUT package will not command your power supply off unless customizations are made. Devices like Synology have an option to command the UPS off. What is acting as your NUT server? Your server PC? On Fri, Sep 6, 2024, 11:10 AM <[email protected]> wrote: > Send Nut-upsuser mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nut-upsuser digest..." > > > Today's Topics: > > 1. NUT shutsdown my UPS after a period of time even when power > is back (Mega DooOooM) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 6 Sep 2024 12:53:19 +0000 > From: Mega DooOooM <[email protected]> > To: "[email protected]" > <[email protected]> > Subject: [Nut-upsuser] NUT shutsdown my UPS after a period of time > even when power is back > Message-ID: > < > gv2pr02mb880089d12e4d543750bc1ccdb6...@gv2pr02mb8800.eurprd02.prod.outlook.com > > > > Content-Type: text/plain; charset="iso-8859-1" > > OS: Openmediavault 7.4.7-1 > NUT version: 7.0.4-1 > Intalled from OMV plugin installer > MY UPS: APC BX1200MI-GR > connected through USB > all of my UPS data are in this screenshot > > > my problem that i need help with is as follow: > > so what's happening is if my gaming PC / router / switch are connected and > power is down > the UPS switches normally without issues from AC to battery and vice versa > when the power is back to the UPS > > BUT when you add the SERVER PC and NUT commands the SERVER PC to shut down > here where the problem occurs the UPS switches to battery mode and NEVER > switches back to AC mode even though the power is back > and what is worse is that the UPS restarts itself after about 2 to 3 min > i'm contacting you directly because NUT is the reason for the issue IDK if > it is a bug or intended > and in your documentation i saw that upsmon is the one controlling the UPS > and i don't see how to properly do it when NUT command my SERVER PC to shut > down after 15 sec when on battery and the server pc which has upsmon is off > what i want the UPS to do: > After NUT commands My server to shut down i want my UPS to keep running > because there are other equipments connected to the UPS that i don't want > them to shut down and also i want the UPS when the power is back to switch > back to AC mode without needing to power cycle itself and shutting down my > ROUTER and gaming PC with it > > i'm not a professional with coding i can only edit some config files to > match my usage and i desperately need you help > Thanks in advance. > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240906/f35c1cec/attachment.htm > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: UPS.png > Type: image/png > Size: 155049 bytes > Desc: UPS.png > URL: < > http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240906/f35c1cec/attachment.png > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Nut-upsuser mailing list > [email protected] > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser > > > ------------------------------ > > End of Nut-upsuser Digest, Vol 231, Issue 1 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240906/c95b1714/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser ------------------------------ End of Nut-upsuser Digest, Vol 231, Issue 2 *******************************************
_______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
