I searched the forums but I don't find anything useful.
I'll install Scale in a short time but I need to manage two UPSes.
It seems that TrueNAS still isn't able to monitor multiple UPSes so I'm searching for a workaround.
First I thinked to modify the ix-ups script to create customized nut files but I can't find it anymore in the middleware on Github (maybe is for Core on FreeBSD?).
I don't like much this way because it will not survive an update.
So I'm thinking to create a VM with NUT-UPS to:
- monitor both UPSes
- if both go critical, send a UPS shutdown commands with a delay of 5 minutes
- THEN one of the following
+ send a shutdown command to the host
OR
+ create a dummy UPS that host can monitor and shutdown (but I must be sure that host shutdown starts after UPS shutdown on the VM)
Is it possible?
Any other ideas?
I'll install Scale in a short time but I need to manage two UPSes.
It seems that TrueNAS still isn't able to monitor multiple UPSes so I'm searching for a workaround.
First I thinked to modify the ix-ups script to create customized nut files but I can't find it anymore in the middleware on Github (maybe is for Core on FreeBSD?).
I don't like much this way because it will not survive an update.
So I'm thinking to create a VM with NUT-UPS to:
- monitor both UPSes
- if both go critical, send a UPS shutdown commands with a delay of 5 minutes
- THEN one of the following
+ send a shutdown command to the host
OR
+ create a dummy UPS that host can monitor and shutdown (but I must be sure that host shutdown starts after UPS shutdown on the VM)
Is it possible?
Any other ideas?