Ultra UPS and Linux

Red Squirrel

No Lifer
May 24, 2003
70,148
13,565
126
www.anyf.ca
I have an Ultra 1000VA UPS attached to my Linux server. I used to use the upsmon software that comes with it but on my new system it wont work as I'm using a serial to usb adapter, there's no serial ports on this machine.

Is there a known way to get this to work? I tried apcupsd for kicks but it did not find the ups.

Is there a way to see if the system even sees that connection?

If none of this works, is there alternative ways for me to get the server to do a proper shut down if there's a power failure? Like is there such thing as a device I can plug into the wall and sends a signal via usb that works in Linux? I don't want to buy a whole new ups just for this. At worse I can connect it to the windows machine then have the windows machine tell the server to shutdown. Such program would not be hard to write and since it's on a private local network it would not really be too big of a security issue.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
I haven't found a UPS that doesn't work out of the box with our Ubuntu machines. Just plug-in the USB cable and it's good to go, what brand is the UPS and what distro are you using?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
I've never used that brand but I don't see why it wouldn't work with a USB cable. Anytime you add or remove a USB device dmesg should have some output for you. You could try removing/adding the UPS and seeing if it detects a new device, at least that way you know it's detecting the UPS and that it's a software problem.