[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 localhost 1 upsmon partyhardy slave

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

now:

# service ups start

should start without errors.

If it shows errors, let us know.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]