APC UPS control system Power Supply User Manual


 
which means that apcaccess can access any UPS on the network running the
Network Information Server.
The status command line option of apcaccess will produce a full printout
of all the STATUS variables used by apcupsd. This can be very helpful for
checking the condition of your UPS and to know whether or not apcupsd
is properly connected to it. For a complete description of the variables and
their meanings, please read the Status Format (see apcupsd Status Logging)
section of the Technical Reference.
Please note that if you invoke apcaccess within the first 30 seconds of launch-
ing apcupsd, you will likely get an error message such as:
APCACCESS FATAL ERROR in apcipc.c at line 325
attach_shmarea: shared memory version mismatch
This is because apcupsd is still in the process of initializing the shared
memory segment used to communicate between the two processes. There
is also a small window of time after which the memory segment is properly
initialized but before the UPS has been completely polled. If you invoke
apcaccess during this period, you will get the STATUS output, but with
many of the values zero. The solution is to wait at least 30 seconds after
starting apcupsd before launching apcaccess.
To invoke apcaccess, enter:
apcaccess status
For a SmartUPS 1000 apcaccess will emit the following output:
DATE : Fri Dec 03 12:34:26 CET 1999
HOSTNAME : matou
RELEASE : 3.7.0-beta-1
CABLE : Custom Cable Smart
MODEL : SMART-UPS 1000
UPSMODE : Stand Alone
UPSNAME : UPS_IDEN
LINEV : 232.7 Volts
MAXLINEV : 236.6 Volts
MINLINEV : 231.4 Volts
LINEFREQ : 50.0 Hz
OUTPUTV : 232.7 Volts
73