NUT Learning Notes
Jump to navigation
Jump to search
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: