The major function of the apccontrol script is to perform a shutdown of the system as well as the killpower operation. Note that on Windows NT systems, apcupsd apparently continues to run as a Service even though the machine is “shutdown”. Battery longevity and service life of the UPS may be conserved by reducing the sensitivity of the UPS, as long as your equipment can operate normally under the conditions detailed below. Then create a file named. The following table describes the single character “Code” or command that you can send to the UPS, its meaning, and what sort of response the UPS will provide. The good news is that if you are located in the USA, all you have to do is contact APC Technical Support and they will send you a serial port dongle which plugs into the serial port of your UPS and reprograms the battery constant value for you to the correct value. Shuts down the system using shutdown -h or similar.

Uploader: Maule
Date Added: 9 February 2004
File Size: 18.90 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 62749
Price: Free* [*Free Regsitration Required]

How to Use APC UPS with Two or More Computers – Master Slave Setup

This happens, for example, when apcupsc UPS switches on or off battery. Allow the unit to run on battery until it turns off completely. Workaround Add the following to rc. Remember that if the unit is an older model, then the runtime will not improve significantly. However, please be aware that if you want to follow Sun’s filesystem conventions you would use the following:.

Be sure to include the –enable-usb flag to configure. Additionally, you will run one instance of apcupsd on each of the machines you wish to be shut down.


Check that the configuration report printed at the end of windods configure process corresponds to your choice of directories, options, and that it has correctly detected your operating system. Assuming that the output looks reasonable, check the following variables:.

[Ubuntu] Networked UPS with apcupsd, APC 750 and Windows

Once the unit has recharged, the “runtime remaining” calculation should be more accurate. The web UI will silently ignore shorter passwords and does not give an error message.

Apcupsd on Windows is limited to a single instance and cannot support monitoring multiple UPSes. Installation is very simple and straight-forward: If your UPS doesn’t appear in the list at winndows, check the obvious things: It contains important information that will make your efforts easier. You will need to know the corresponding APC model number. Don’t take the chance.

The toggle value alternates from 0 to 1 on each line.

How to Use APC UPS with Two or More Computers – Master Slave Setup

You can also minimize the risk from an unexpected shutdown by using a journaling filesystem such as Linux’s EXT3. The two most likely causes of your problem are: Note that Apcupsd is sensitive to the install location of libusb, so beware if you change it from the default.

Each message consists of a 2-byte length in network byte order followed by that many bytes of data. It is necessary to reboot in order to activate the kext.

Consult your web server’s documentation for how to enable CGI programs to be executed.


It is very important the network winxows to be powered by the UPS so the apcupsd NIS server to be functional in case of outage. You should see a dmesg log message like the following:.

apcupsd | A daemon for controlling APC UPSes

This means you go nowhere if you use a normal straight through serial cable. Please note that the files specified above assume the default installation locations. If you do not find that apcupsd is in the above list, the most likely problem is a configuration file glitch. On slower systems, the percentage will increase proportionally to the decrease in the CPU speed.

If you are running a window manager such as GNOME and don’t have a console window open, you may not receive the wall messages. By default this event does nothing, but it can be overridden to notify users, apchpsd.

This event is generated when apcupsd detects a self test by the UPS. The sensitivity setting change aapcupsd take effect immediately.

The brands of battery found in genuine APC battery cartridges have included: Normally, the configure program will set an appropriate default value.

Also note wndows if you launch the execution of apcupsd while your voltage-signaling UPS is on battery power, it is very likely that your UPS will immediately shut off the power.