UPS ON RS-232 (+) CLOSE TO SUICIDE !!

Phil Meyer pmeyer at themeyerfarm.com
Sat Sep 9 23:23:30 UTC 2006


SERGIE wrote:
> Please help - spent a week 24hr/day, no results. Wouldn't not want anyone me 
> to suicide? I got fc5.
>   
Here is what I did:
/etc/sysconfig/ups: modify at least DEVICE=/dev/ttyS0 and MODEL=cpsups 
as appropriate.
MODEL is the 'driver' name for your UPS.
Check the docs to get the right driver name from the list:
rpm -ql nut | grep sbin | awk -F/ '{print $3}'

/etc/ups/ups.conf: add a section -- I called mine cyber
[cyber]
        desc = "CyberPower 1100AVR"
        driver = cpsups
        port = /dev/ttyS0
again, as appropriate for your device

/etc/ups/upsmon.conf: tell it what to watch -- the definition you just 
made ...
MONITOR cyber at localhost 1 upsmon partyhardy slave

/etc/ups/hosts.conf: again, tell it what to monitor -- the one you made
MONITOR cyber at localhost "Local UPS"

now:

# service ups start

should start without errors.

If it shows errors, let us know.




More information about the fedora-list mailing list