Difference between revisions of "NUT Learning Notes"
Jump to navigation
Jump to search
(Created page with "[https://networkupstools.org/ <big>'''NUT'''</big>] ===ESXi=== ====Research==== *[https://forum.openmediavault.org/index.php/Thread/8432-NUT-not-turning-server-off-if-UPS-r...") |
|||
Line 50: | Line 50: | ||
**hhhmmm... Wonder if <code>/etc/init.d/nut-server force-reload</code> would fix it... | **hhhmmm... Wonder if <code>/etc/init.d/nut-server force-reload</code> would fix it... | ||
***yup... | ***yup... | ||
+ | |||
+ | = NUT on a Proxmox LXC = |
Latest revision as of 02:50, 31 August 2025
ESXi
Research
- NUT not turning server off if UPS reaches low battery is set (working with UPS goes on battery setup)
- UPS shutdown ESXI 6.5
- Shutdown Esxi server over ssh
What's Where
ls /opt/nut/
bin etc lib sbin
ls /opt/nut/bin
notify.sh smtpblast upsc
ls /opt/nut/etc/
notify.conf notify.conf.template upsmon.conf upsmon.conf.template
/opt/nut/lib/
libupsclient.so libupsclient.so.4 libupsclient.so.4.0.0
ls /opt/nut/sbin/
Example Commands
Force Shut Down:
/opt/nut/sbin/upsmon -c fsd
Linux
- Why don't the pathnames in your documentation match the package I installed?
- chop off the
/usr/local/ups
part & all is good. (at least here...)
- chop off the
- Why do the client programs say Driver not connected when I try to run them?
- oops...
sudo upsdrvctl start
hasn't happened...
- oops...
- What's this about data stale?
- Brute force solutions:
- Unplug & replug the USB cable...
- or restart the driver...
sudo upsdrvctl stop
sudo upsdrvctl start
- (dunno why there's no "restart" option...)
- hhhmmm... Wonder if
/etc/init.d/nut-server force-reload
would fix it...- yup...
- Brute force solutions: