Ray Mitchell wrote:
> > By default NUT is set up for a USB UPS, ..........
> > However, it seems to work just as it's supposed to.
>
> What is the "supposed to" bit ?
1-It scans the USB port and determines if a UPS is present.
2-If not present it will fill logs with "stale data" errors.
3-If present, it determines if on line power or battery power.
4-If on battery and battery gets low it executes a proper shutdown of the box.
Like I said, my UPS is a "dumb" UPS and thats about all it is capable of doing. Some UPS's will provide much more info and will even take a powerdown command and turn the UPS off, mine will NOT. So as far as my UPS is concerned, it works as it's "supposed to".
> > NUT is disabled when you install it with update 2 or above.
> > You have to enable it.....
> > /sbin/e-smith/db configuration setprop nut status enabled
>
> Was there any other configuration setup required, did you
> change any settings in any config files for your UPS ie run
> time before shutdown etc etc. What and where ?
No, I just enabled it as above and the "stock" configuration worked out of the box. My UPS is able to send a "low battery" signal and there was no need to change any config files. I looked at all the templates and config files first and determined that the settings (according to the nut website) would be acceptable for my UPS and tested it with a dummy load before I actually plugged the sme box into the UPS.
The only thing that needs to be worked out for me is how to get the monitor page in upsmon (I think it is a CGI script) working. I also think Shad is/was working on a server-manager panel to configure everything but he won't email or post back to me so I gave up asking. I offered up my assistance but I have never heard back from Shad so I just started poking around the templates and config files and determined NUT might just work. I tested on my test box first and after that worked, I moved the UPS over to my production server.
Just remember, I am using a USB connection and the cable that came with the UPS (APC XS 1500) and that's the only UPS I have tested it on. The default setup when you install the NUT RPM's is for a USB (hidups) interface, this can be changed with a custom template until Shad finishes what he is doing. There is only 1 driver for USB, there are many for serial and you can run into major problems with cables on a serial connection and even have to make up your own cable. This is why I wanted to get a USB UPS working. NUT seems to have almost as many configuration options as SAMBA, hahaha. Shad is probably having a hell of a time trying to decide what options are needed/wanted for an sme box. Go to the web site and read, Hell I even think there is an option for NUT to make your coffee for you in the morning
