Displaying 3 results from an estimated 3 matches for "getupstatus".
Did you mean:
getupsstatus
2020 Aug 04
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Mon, 3 Aug 2020, Todd Benivegna wrote:
> Thank you! Sorry for another bonehead question…. Do I replace <myups> with
> the IP address of the NUT Server/Synology? I’m assuming I would use this
> version for use in Dash with Ubuntu, correct?
Yes, you replace <myups> with the address of your UPS, for example
"ups at 192.168.x.y". Are you using Dash or Bash?
2020 Aug 04
0
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Ok, gotcha, I did that. I believe Ubuntu uses Bash for user sessions and Dash fornscripts, so followed your instructions for Dash. I put the getUPStatus bits in .bashrc and tested in Terminal and got:
UPS status is [OL]:100
So I went ahead and put your SHUTDOWNCMD in upsmon.conf. I think it should be working now....
--
Todd Benivegna // todd at benivegna.com
On Aug 4, 2020, 3:13 AM -0400, Roger Price <roger at rogerprice.org>, wrote:
>...
2020 Aug 04
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
...in both .bashrc and .profile so it'd work either way?
On Tue, Aug 4, 2020 at 8:39 AM Todd Benivegna <todd at benivegna.com> wrote:
> Ok, gotcha, I did that. I believe Ubuntu uses Bash for user sessions and
> Dash fornscripts, so followed your instructions for Dash. I put the
> getUPStatus bits in .bashrc and tested in Terminal and got:
>
> UPS status is [OL]:100
>
> So I went ahead and put your SHUTDOWNCMD in upsmon.conf. I think it should
> be working now....
>
> --
>
> *Todd Benivegna* // todd at benivegna.com
> On Aug 4, 2020, 3:13 AM -0400, Roger Pr...