Xoffbatt multimon3/15/2023 ![]() ![]() Type the following apt-get command to install the same: You can install a package called apcupsd-cgi so that you can monitor your UPS load, uptime, logs and other details using www. $ gapcmon A note about web based monitoring tool ![]() OR use yum command for RHEL / CentOS Linux: You can install it using the following command: Gapcmon is a desktop monitor program for the apcupsd server. 03:38:06 +0530 apcupsd shutdown succeeded The UPS status is logged in /var/log/apcupsd.events file. How do I view ups events such as power failure? LASTXFER : Automatic or explicit self test # chkconfig apcupsd on How do I see current status of my UPS? However, you need to turn on service on boot: RHEL / CentOS / Red Hat / Fedora Linux can use the same command. Type the following command to start / stop / restart service: You can test your ups or read test results. Please select the function you want to perform. This part of apctest is for testing USB UPSes. Hello, this is the apcupsd Cable Test program. You are using a USB cable type, so I 'm entering USB test mode This is particulary useful if you have multiple UPSes. You will see the following entry in /var/log/messages You need to connect the UPS to your server using cable. Loaded plugins: product-id, protectbase, rhnplugin, subscription-managerĠ packages excluded due to repository protections If you are using RHEL / CentOS Linux use yum command as follows, enter: ![]() Please check your configuration ISCONFIGURED in /etc/default/apcupsd Update-rc.d: warning: apcupsd stop runlevel arguments (0 6) do not match LSB Default-Stop values (0 1 6) Update-rc.d: warning: apcupsd start runlevel arguments (1 2 3 4 5) do not match LSB Default-Start values (2 3 4 5) 30840 files and directories currently installed.) Selecting previously deselected package apcupsd. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 672 kB of additional disk space will be used. Type the following apt-get command under Debian / Ubuntu Linux install apcupsd software: If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. Apcupsd works with most of APC’s Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. Linux comes with GPL licensed open source apcupsd server ( daemon ) that can be used for power mangement and controlling most of APC’s UPS models on Linux, BSD, Unix and MS-Windows operating systems. How do I configure and use my APC SmartUPS under Debina / Ubuntu / RHEL / CentOS / Fedora / Scientific Linux operating system for power management? If power is not restored my server must shutdown when the battery is exhausted. My Linux nas server connected to APC SmartUPS using usb cable and I would like to detect a power failure. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |