The default is 60 seconds. This directory contains a copy of the event handling scripts modified to avoid shutting down the local machine. Ours came with version 2. All the available configure options can be printed by entering:. Before continuing, you must correct this problem. The net result, is that in those situations hiddev is completely unusable so apcupsd will not work. Installation is very simple and straight-forward: Simply double-click the installer executable and follow the instructions.
Configure the other email options as you'd like, ensuring email generation is enabled. These batteries will, almost without exception, not last as long as brand name batteries and will need replacing within 12-18 months instead of 3-5 years. Running the test will cause the batteries to be discharged to approximately 30% of capacity. We are striving to provide a useful package that works across all platforms, and welcome your feedback. In most cases, this driver is automatically installed when you install Apcupsd. After apcupsd is stopped you may invoke apctest as root.
You must then find and change the appropriate configuration parameter to permit instant power on. In addition, there is a diagram near the end of this chapter. Otherwise, it may have been given the command to power off, but due to a long grace period it is still waiting. This is an excellent resource with answers to all sorts of questions. See the bugs section of this document for a list of known bugs and solutions. M Maximum line voltage 118.
To complete the testing, you should do a power fail shutdown of your system. Using the ipaddr, user, and passphrase will prevent this behavior. It is repeated every x hours. Yuasa aka Genesis is also a recommended brand, albeit a bit on the pricey side. This may or may not pose a problem. See also Nominal Battery Voltage. This is necessary if you wish your system to automatically reboot when the mains power is restored.
This is the most common configuration. Your script file must have the same name as the appropriate case statement in apccontrol; it must be executable; and it must be in the same directory as apccontrol. Some systems require unusual options for compilation or linking that the '. You will be on your own, or you can ask the developers list for installation instructions. As already mentioned, this should not apply, but in case of problems it is worth a try. It's just a ping test though so we can't rely on a lost host to explain why it's lost.
This parameter can be useful if you wish to direct the apcupsd system logging information to other than your system default files. This is used primarily for serial port connections. Thanks to Joe Acosta for the suggestion. If any one of the settings you input is incorrect, this will cause email to fail. Use a pointed object such as a pen to do so.
When apcupsd detects an event, it calls the apccontrol script with four arguments as: apccontrol event ups-name connected powered where: event is the event that occurred and it may be any one of the values described in the next section. A battery which would last for 6 years at 25 Deg C 77 Deg F , will only be good for 3 years if operated at 33 Deg C 95 Deg F. This timer is reset when the power returns. When using this cable with apcupsd specify the following in apcupsd. The apcupsd spec file contains defines to build for several platforms: RedHat 7. This directory also contains a hint file for Linux From Scratch, which could be helpful for other systems as well. None of these directives are required for proper operation of apcupsd.
By connecting your valuable devices, you are ensuring these investments against potentially irreversible damage. No, you do not need to be root and, in fact, it is better practice to build rpm packages as a non-root user. Note that some vendors continue to distribute ancient versions of apcupsd with known defects. As you can imagine, most of these people are system administrators rather than developers so they are very busy and don't always have time to test the latest releases. If you have disabled this on your system, please re-enable it. Password Security User-selectable password protection prevents unauthorized access. Please follow the advice to avoid shutdown problems.