- Joined
- Nov 25, 2013
- Messages
- 7,776
I'm talking of a second machine of this kind:
www.raspberrypi.org
To elaborate ...
You cannot boot a Linux distro from another USB drive without disabling your TrueNAS for obvious reasons. Let me summarize the situation step by step.
1. To monitor a UPS you need a UPS monitoring service. A piece of server software running 24x7, checking for power loss and then initiating appropriate action.
2. The only open source UPS software (I am aware of) is NUT: https://networkupstools.org
3. The FreeBSD and hence TrueNAS version of NUT is hopelessly outdated. From 2016. So most USB connected UPS don't work (well).
4. But the fault is with the NUT project, IMHO, because they have not released a new version since 2016. So the FreeBSD package maintainer cannot update the package so iXsystems cannot integrate a newer one into TrueNAS.
5. Their approach is: checkout the latest source and compile yourself if you need anything newer than 2016.
6. Which is not possible on TrueNAS because you cannot compile and install your own software without much difficulty and probably breakage at every future TrueNAS update - so why go that way and try to "hack it"?
7. Better get a dirt cheap power efficient Linux system and compile their damned source there, make everything work and have that Linux system running 24x7 monitoring the UPS.
8. Then setup TrueNAS as a slave UPS monitor.
HTH,
Patrick

Buy a Raspberry Pi 3 Model B+ – Raspberry Pi
1.4GHz 64-bit quad-core processor, dual-band wireless LAN, Bluetooth 4.2/BLE, faster Ethernet, and Power-over-Ethernet support (with separate PoE HAT)

To elaborate ...
You cannot boot a Linux distro from another USB drive without disabling your TrueNAS for obvious reasons. Let me summarize the situation step by step.
1. To monitor a UPS you need a UPS monitoring service. A piece of server software running 24x7, checking for power loss and then initiating appropriate action.
2. The only open source UPS software (I am aware of) is NUT: https://networkupstools.org
3. The FreeBSD and hence TrueNAS version of NUT is hopelessly outdated. From 2016. So most USB connected UPS don't work (well).
4. But the fault is with the NUT project, IMHO, because they have not released a new version since 2016. So the FreeBSD package maintainer cannot update the package so iXsystems cannot integrate a newer one into TrueNAS.
5. Their approach is: checkout the latest source and compile yourself if you need anything newer than 2016.
6. Which is not possible on TrueNAS because you cannot compile and install your own software without much difficulty and probably breakage at every future TrueNAS update - so why go that way and try to "hack it"?
7. Better get a dirt cheap power efficient Linux system and compile their damned source there, make everything work and have that Linux system running 24x7 monitoring the UPS.
8. Then setup TrueNAS as a slave UPS monitor.
HTH,
Patrick
Last edited: