Update README.md

This commit is contained in:
Zakary Timson 2024-07-22 14:07:16 -04:00
parent d79d035338
commit f8ad913c02

View File

@ -11,6 +11,11 @@ Export UPS data via HTTP for prometheus service
### Instructions ### Instructions
1. Clone the repository 1. Clone the repository: `git clone https://git.zakscode.com/ztimson/ups-exporter.git`
2. Run the install script: `./install.sh` 2. Run the install script: `cd ups-exporter && ./install.sh`
3. Setup Prometheus to scrape http://localhost:1024 3. Setup Prometheus to scrape exporter: [http://localhost:1024](http://localhost:1024)
```yml
- job_name: 'power'
static_configs:
- targets: ['<IP>:1024']
```