Graceful Shutdown on Power Outage

okynnor

Explorer
Joined
Mar 14, 2019
Messages
71
Hi,
I have a good APC UPS attached to TrueNAS. The UPS power lasts about 6+ hours. Usually, this sufficient. When the grid's power outage lasts longer, then we have a problem. Is there a way to setup TrueNAS to gracefully shutdown when it monitors that the UPS power is about to be depleted? The UPS, an older XL model, does have monitoring capabilities but just needs software to poll it. Is there a feature/program that can be installed onto TrueNAS?
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
TrueNAS includes NUT as a Service - that has a documented capability of shutting down the attached server on either "low battery" or "on going onto battery".
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
 

okynnor

Explorer
Joined
Mar 14, 2019
Messages
71
Thanks all for your help so far. I would like to ask if there's docucmation to get XCP-NG to gracefully shutdown just as the document only described the topic for ESXi and WinNUT.
 
Top