Apcupsd: Difference between revisions
From DWIKI
m →HOWTO Tag: wikieditor |
Tag: wikieditor |
||
| Line 7: | Line 7: | ||
=Apcupsd using SNMP= | |||
On the UPS enable SNMP and have a community (for example '''public''') with read access. | On the UPS enable SNMP and have a community (for example '''public''') with read access. | ||
| Line 14: | Line 14: | ||
UPSTYPE snmp | UPSTYPE snmp | ||
DEVICE 192.168.188.12:161:APC:public | 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= | =FAQ= | ||
Revision as of 08:38, 10 September 2025
Links
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
If connecting via USB: in apcupsd.conf:
DEVICE
