Mailing List Archive

Support open source code!


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

Re: tlug: UPS again.




I've attached my apcupsd.conf.  It might require some helper scripts that
are in there, I forget right now.  let me know if there's any other
files/help you need.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com

#
# "apcupsd" POSIX config file
#

#
# CONTROL <string>
#
CONTROL /sbin/powersc

#
# UPSCABLE [ simple | smart | 940-0020B | 940-0023A |
#            940-0024B | 940-0024C | 940-0095A |
#            940-0095C | ether ]
#
UPSCABLE 940-0095A
#UPSCABLE 940-0024B

#
# UPSTYPE [ backups | sharebasic | netups | backupspro |
#           smartvsups | smartups | matrixups | sharesmart ]
#
#UPSTYPE smartups
UPSTYPE backupspro

#
# UPSCLASS [ standalone | shareslave | sharemaster |
#            netslave | netmaster ]
#
UPSCLASS netmaster

#
# UPSMODE [ disable | share | net | sharenet ]
#
UPSMODE net

#
#DEVICE <string> /dev/<serial port>
#
DEVICE /dev/ttyS0

#
#LOCKFILE <path to lockfile>
#
LOCKFILE /var/lock

#
# ANNOY <int> <30> <0> disables
#
ANNOY 30

#
# DELAY <int> <60> <0> disables
#
DELAY 60

#
# PROCFS <int> <120> <0> disables
#        <rate update procfs-type file of current status> 
#
PROCFS 10

#
# LOGGING <int> <500> <0> disables
#         <rate update log file of current status>
#
LOGGING 30

#
# TIMEOUT <time is seconds to run on UPS, powerfails>
#
TIMEOUT 300

#
# BATTERYLEVEL <precent of battery charge for shutdown> 10
#
BATTERYLEVEL 10

#
# BATTCMD <string>
#
BATTCMD /usr/sbin/ups_shutdown.pl

#
# TIMECMD <string>
#
TIMECMD /usr/sbin/ups_shutdown.pl

#
# LOADCMD <string>
#
LOADCMD /usr/sbin/ups_shutdown.pl

#
# PWRCMD <string>
#
PWRCMD /usr/sbin/ups_lowpower.pl

#
# RETCMD <string>
#
RETCMD /usr/sbin/ups_powerreturn.pl

#
# NETTIME <int>
#
NETTIME 10

#
# NETPORT <int>
#
NETPORT 6666

#
# MASTER <string>
#
#MASTER

#
# SLAVE <string>
#
SLAVE armadillo.pht.co.jp
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links