https://github.com/lfuelling/ups_exporter
Prometheus Exporter for PowerWalker(?)/V7(?)/FSP(?) UPS SNMP Modules
https://github.com/lfuelling/ups_exporter
fortron fsp monitoring powerwalker prometheus-exporter uninterruptible-power-supply ups v7
Last synced: 4 days ago
JSON representation
Prometheus Exporter for PowerWalker(?)/V7(?)/FSP(?) UPS SNMP Modules
- Host: GitHub
- URL: https://github.com/lfuelling/ups_exporter
- Owner: lfuelling
- License: mit
- Created: 2021-11-09T17:48:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-09T22:49:03.000Z (almost 4 years ago)
- Last Synced: 2025-09-24T18:30:47.765Z (17 days ago)
- Topics: fortron, fsp, monitoring, powerwalker, prometheus-exporter, uninterruptible-power-supply, ups, v7
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ups_exporter
Prometheus exporter for PowerWalker(?)/V7(?)/FSP(?) UPS SNMP Intelligent Slot addon cards.
You'll need SSH access to copy files to and execute commands on the SNMP card!
## Prerequisites
- Go >= 1.16
- SSH Access to the UPS SNMP card## Usage
1. Clone this repository
2. Run `env GOOS=linux GOARCH=arm GOARM=5 go build -o ups_exporter_armv5`
3. Copy the file to `/usr/sbin/ups_exporter` on the SNMP card
4. Run `chmod +x /usr/sbin/ups_exporter` on the SNMP card
5. Copy `examples/etc_rc.d_init.d_ups_exporter` to `/etc/rc.d/init.d/ups_exporter` on the SNMP card
6. Reboot the device and go to `http://:9122/metrics`### BONUS: Disabling the webserver and/or snmp
Since you can't change the admin password because of bugs, it might be a good idea to disable the web interface completely.
This can be done by commenting in the `exit 0` at the beginning of `/etc/rc.d/init.d/webserver` and rebooting the device (same goes for `snmpd` in `/etc/rc.d/init.d/snmpserver`).