-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Yoichi Takizawa edited this page Feb 15, 2026
·
2 revisions
- Python 3.6+
- APC PowerChute Serial Shutdown for Business (port 6547)
No external Python packages are required.
git clone https://github.com/yo1t/apcget.git
cd apcgetOr simply download apcget.py directly.
your_usernameandyour_passwordare the credentials you configured in PowerChute (not OS credentials).
python3 apcget.py 192.168.1.100 your_username your_password
# Output: 19.0python3 apcget.py 192.168.1.100 your_username your_password --battery
# Output: 100.0
python3 apcget.py 192.168.1.100 your_username your_password --load --runtime --voltage
# Output: 19.0 29 102.0Create ~/.apcget.conf:
[powerchute]
ip = 192.168.1.100
username = your_username
password = your_passwordchmod 600 ~/.apcget.conf
python3 apcget.py --batterySee Credential Management for more details.
- Available Items — see all retrievable items
- Zabbix Integration — send data to Zabbix automatically