Apcupsd: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
Line 1: Line 1:
=Links=
=Links=
*[http://www.apcupsd.org/ apcupsd homepage]
*[http://www.apcupsd.org/ apcupsd homepage]
=Scripts=
==apcaccess==
===Values===
====STATUS====
====TIMELEFT====
The UPS battery run time remaining before battery
exhaustion.
====LOADPCT====
The current UPS load expressed in percent
of rated capacity.


=HOWTO=
=HOWTO=

Revision as of 11:44, 10 September 2025

Links

Scripts

apcaccess

Values

STATUS

TIMELEFT

The UPS battery run time remaining before battery exhaustion.

LOADPCT

The current UPS load expressed in percent of rated capacity.

HOWTO

Test configuration

apctest


Apcupsd using SNMP

On the UPS enable SNMP and have a community (for example public) with read access.

In /etc/apcupsd/apcupsd.conf:

UPSCABLE ether
UPSTYPE snmp
DEVICE 192.168.188.12:161:APC:public


After starting apcupsd check it with

apcaccess

(this can be run as non-root) This only works with

NETSERVER on

FAQ

acpaccess does not provide info like TIMELEFT

apt install snmp

FAQ

COMMLOST

TODO finish this If connecting via USB: in apcupsd.conf:

DEVICE