Where host is the name of the host or the IP address of the host running the Network Information Server. The default is the local host. You may optionally specify a port address separated from the host name with a colon. You may also optionally specify a single command to be executed. If you specify a command, that command will be executed and the client program will exit. This is a very simple and useful way of pulling the status or events data into another program such as Perl.

If no error messages are printed, it has most likely established contact with your server. Anything that you type as standard input will be passed to the server, and anything the server sends back will be printed to standard output. There are currently two commands recognized by the server: events and status. Hence the following commands:

./client status events xyz

^D

should produce the status listing (the same as produced by apcaccess status), followed by the list of the last 10 events (in response to the events command), and finally Invalid command in response to the xyz input, which is not a valid command. The control-D terminates the client pro- gram.

The purpose of this program is to show you how to write your own program that can determine the status of apcupsd and act any way you want (e.g. send you email messages on certain events like line voltage boost, ...).

A Tip from Carl Erhorn for Sun Systems:

It is possible to run the CGI code to monitor your UPS using the answerbook HTTP server that runs on Solaris. As long as your server has the Answer- book2 web server installed and running, you can insert the cgi scripts into the cgi directory of the web server, and access the cgi using something like:

http://hostname:8888/cgi/multimon.cgi

82

Page 83
Image 83
APC UPS control system manual Tip from Carl Erhorn for Sun Systems, Http//hostname8888/cgi/multimon.cgi

UPS control system specifications

APC UPS (Uninterruptible Power Supply) control systems are vital components for ensuring uninterrupted power supply and protecting critical equipment from power interruptions, surges, or fluctuations. Designed by Schneider Electric, APC UPS systems are renowned for their high quality and reliability. They utilize advanced technologies and features to suit diverse applications, from home offices to large industrial settings.

One of the main features of APC UPS systems is the ability to provide backup power during outages. This is achieved through a battery system that activates immediately when the mains power fails. This seamless transition minimizes downtime and ensures that electronic devices continue to operate, protecting data integrity and equipment lifespan.

Another significant characteristic of APC UPS systems is their intelligent management capabilities. Most models come with PowerChute software, which provides users with real-time monitoring of power conditions and the status of the UPS. This software allows for graceful shutdowns of connected devices during extended outages, thereby preventing data loss and damage to devices.

APC UPS systems also incorporate advanced technologies such as Automatic Voltage Regulation (AVR). AVR technology ensures that the output voltage remains stable by correcting minor fluctuations without switching to battery mode. This not only prolongs the battery life but also provides a consistent power supply to the connected equipment.

Thermal management is another critical aspect of APC UPS control systems. The design often includes efficient cooling systems that prevent overheating, ensuring optimal performance and longevity of the unit. Some models feature EcoMode, which reduces energy consumption and lowers operational costs by working at high efficiency only when battery backup is not required.

APC UPS systems are designed with scalability in mind. Users can easily add more batteries or connect additional UPS units to accommodate growing power needs. Features such as hot-swappable batteries and modular design facilitate easy upgrades and servicing without interrupting power supply.

In terms of connectivity, APC UPS products often feature multiple options including USB, RS-232, and network management capabilities. This enables users to connect remote management tools and integrate the UPS with existing IT infrastructure.

In summary, APC UPS control systems deliver reliability, efficiency, and advanced technology features that cater to a wide array of power protection needs, making them a trusted choice for individuals and businesses alike.