del said:
I have looked on the NUT site and I can't seem to find any of the directories they say should exist, is this because I am using SME and not another Linux distribution?
The layout of sme is different in some ways. The config files are controlled by the templates located in:
/etc/e-smith/templates/etc/ups
To make adjustments to these templates (which will in turn change the proper config files) you will need to create a directory and put custom templates in:
/etc/e-smith/templates-custom/etc/ups
If you don't understand the template and custom-template system that SME uses you need to read:
http://www.e-smith.org/custom/del also wrote:
I still haven't found the log files but the server shutdown gracefully OK.
Go to your web based server-manager and under "Administration" you will find "View log files". Look at the bottom of the "messages" log and you should see things logged concerning your UPS (and a lot of other things).
And then del posted:
Just a thought, are you running any sort of raid on your server? If someone was would they have to do anything different? I have a server running software raid that I would like to try this UPS and NUT on.
Del, my SME system runs on a software raid1 that was installed during setup. The upsmon signals a standard SME hault command after a battery low signal is received (see /etc/e-smith/templates/etc/ups/upsmon.conf/SHUTDOWNCMD). This will shut down the SME box (including all running processes including software raid) as if you went to the server-console and did it yourself.
NUTups set up as a USB SHOULD work on any USB UPS (in theory anyway).