APCCONTROL(8) System Manager's Manual APCCONTROL(8) (NAME) apccontrol - apcupsd (SYNOPSIS) apccontrol { } (DESCRIPTION) apcupsd(8) UPS apccontrol . apccontrol . apcupsd . . apcupsd apccontrol : event . . ups-name UPS /etc/apcupsd/apcupsd.conf - EEPROM UPS . connected apcupsd USB UPS 1 . (slave) apcupsd UPS 0 . powered apcupsd UPS 1 0 . 0 . (system log) (/etc/apcupsd/apcupsd.events), apccontrol /etc/apcupsd . (LIST OF EVENTS AND DEFAULT ACTIONS) annoyme apcupsd ANNOYME /etc/apcupsd/apcupsd.conf . -- "Power problems please logoff." wall(1) . battattach apcupsd UPS battdetach . : . battdetach apcupsd UPS . : . changeme apcupsd . . -- "Emergency! UPS batteries have failed Change them NOW" wall . commfailure apcupsd UPS . UPS Back-UPS 650 . -- "Communications with UPS lost." wall . commok apcupsd commfailure UPS . -- "Communications with UPS restored." wall . doreboot . -- "Beginning Reboot Sequence" wall shutdown(8) "-r now" . doshutdown apcupsd UPS ( ) . -- "Beginning Shutdown Sequence" wall shutdown(8) "-h now" . emergency apcupsd UPS : ! -- "Emergency Shutdown. Possible UPS battery failure." wall . apcupsd doshutdown . failing apcupsd UPS UPS . apcupsd doshutdown . -- "UPS battery power exhausted. Doing shutdown." wall . killpower apcupsd . 'apccontrol killpower' killpower . -- "UPS now committed to shut down" wall "apcupsd --killpower" UPS (hibernate) . UPS UPS SLEEP . UPS RETURNCHARGE WAKEUP . loadlimit apcupsd BATTERYLEVEL . -- "UPS battery discharge limit reached. Doing shutdown" wall . apcupsd doshutdown . mainsback apcupsd powerout . doshutdown . doshutdown . -- /var/run/powerfail "Continuing with shutdown." wall . . onbattery apcupsd UPS ONBATTERYDELAY . -- "Power failure. Running on UPS batteries." wall . offbattery apcupsd onbattery . -- "Power has returned..." wall . powerout apcupsd UPS (self-test) . -- . remotedown apcupsd (slave) () (master) () onbattery . : "Remote Shutdown. Beginning Shutdown Sequence." wall . apcupsd doshutdown . runlimit apcupsd MINUTES UPS . UPS apcupsd . -- "UPS battery runtime percent reached. Doing shutdown." wall . apcupsd doshutdown . timeout apcupsd TIMEOUT UPS . UPS (MINUTES) (BATTERYLEVEL) . -- "UPS battery runtime limit exceeded. Doing shutdown." wall . apcupsd doshutdown . startselftest apcupsd UPS . : . endselftest apcupsd UPS . : . (CUSTOMISING EVENT ACTIONS) apccontrol apcupsd . /etc/apcupsd . apccontrol . apccontrol 0 () . apccontrol 99 . (override) . (changeme commfailure commok offbattery onbattery) root /etc/apcupsd platforms/etc apcupsd . (FILES) /etc/apcupsd/apccontrol (SEE ALSO) wall(1), apcupsd.conf(5), apcupsd(8), shutdown(8). HTML apcupsd : (AUTHORS) (This page) Trevor Roydhouse (Software) Adam Kropelin ( ) Kern Sibbald ( ) Riccardo Facchetti ( ) Andre M. Hedrick ( ) (Contributors) -- . apccontrol v3.14.6 January 10, 2009 apccontrol v3.14.6