APCUPSD Logo Image



 
 
 
 

The APCUPSD Developers Manual

© 2001 Riccardo Facchetti



 
 
 

Table of Contents

    1. Introduction
    2. What is APCUPSD
    3. Coding Style
    4. Autoconf
    5. Makefiles Subsystem
    6. Porting APCUPSD to other Architectures
    7. Talk with a Smart UPS using Minicom
    8. Message Logging
    9. APCUPSD Threads
    10. APCUPSD Drivers
    11. Multiple UPSes Controlled by a Single Computer
    12. Network Design
    13. Authentication Design
    14. The Virtual Uninterruptible Power Source
    15. Smart UPSes
      1. BackUPS Pro
      2. BackUPS Pro (new version)
      3. SmartUPS v/s
    16. Dumb UPSes
      1. APC Interface Expander
      2. APC Powercell Network
      3. ShareUPS
      4. BackUPS
      5. Dumb Cable
    17. APC Documents
      1. Meaning of G Command
      2. APC Statement
    18. Old ChangeLogs
      1. 3.x and Before
      2. 4.0.0 Alpha 7 and before

Introduction


This guide is intended to be an aid to anyone willing to start developing apcupsd. It contains information that is not strictly needed by
users of the package. Part of these information will be passed to the user guide in a format suitable for general use.
 

What is APCUPSD


APCUPSD is a package for monitoring the status of an UPS connected to a computer and powering a power line. When a power event happens to the power utility, APCUPSD detects the event and take the correct action to ensure safe operations to the computers connected to the UPS.
See:
K. Sibbald, APCUPSD Users Manual
R. Facchetti, "Monitoring Your UPS with APCUPSD", Linux Journal, Dec. 2000, n.80, pp. 98-115.