cyberpower-exporter/README.md

22 lines
559 B
Markdown
Raw Normal View History

2024-07-22 13:44:29 -04:00
# CyberPower Exporter
Export UPS data via HTTP for prometheus service
## Setup
### Prerequisites
- [Bun](https://bun.sh)
2024-07-22 13:58:34 -04:00
- [PowerPanel](https://www.cyberpower.com/global/en/product/sku/powerpanel_for_linux#downloads)
2024-07-22 13:44:29 -04:00
### Instructions
2024-07-22 14:07:16 -04:00
1. Clone the repository: `git clone https://git.zakscode.com/ztimson/ups-exporter.git`
2. Run the install script: `cd ups-exporter && ./install.sh`
3. Setup Prometheus to scrape exporter: [http://localhost:1024](http://localhost:1024)
```yml
- job_name: 'power'
static_configs:
- targets: ['<IP>:1024']
```