3)Test 3 - no power
4)Test 4 - low battery (requires test 3 first)
5)Test 5 - battery exhausted
6)Test 6 - kill UPS power
7)Test 7 - run tests 1 through 5
8)Guess which is the appropriate cable
9)quit
Select test number:
Run tests 1, 2, and 3. Note, none of the currently supported cables will indicate a change for test 2. You can then run test 8 to see what cable it thinks you should be using. Finally run test 4.
apctest can also be run for Smart UPSes.
The print out of your testing will be written to the file apctest.output. If you are unable to solve your problem, you can try posting that file to the development mailing list, and perhaps we can help you. In this case, please also include information on your operating system, which version of apcupsd you are using, your UPS model, and also your apcupsd.conf file.
Expected apctest Signals for a UPS:
If you have configured your UPS as:
UPSTYPE backups UPSCABLE APC_940_0119A
or APC_940_0127A or APC_940_0128A or APC_940_0020B or APC_940_0020C
here are typical signals you would expect to see in the output from the various tests of apctest:
Test 1 | normal: |
| RTS for cables (0119A 0127A 0128A) | ||||
Test 2 | no | serial | cable: | not important | |||
Test | 3 | no | AC power: | CTS | for | all cables | |
Test | 4 | batteries | exhausted: CTS | and | CD for all cables |
Note: RTS if set in Test 1 will probably also be set in all the other tests. This is not important, what counts is the appearance of CTS when the power fails and additionally CD when the batteries are low.