Archival notice: I can't maintain this project anymore. The FSP UPS I owned decided to fail, and I got a model from a different maker which doesn't support SSH access to the SNMP card. There is a high likelyhood that this exporter will still work fine for you if read this in the future, since the SNMP Card firmware will probably never be updated by whoever built it; feel free to give it a try regardless of the project being in read-only mode.
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!
- Go >= 1.16
- SSH Access to the UPS SNMP card
- Clone this repository
- Run
env GOOS=linux GOARCH=arm GOARM=5 go build -o ups_exporter_armv5 - Copy the file to
/usr/sbin/ups_exporteron the SNMP card - Run
chmod +x /usr/sbin/ups_exporteron the SNMP card - Copy
examples/etc_rc.d_init.d_ups_exporterto/etc/rc.d/init.d/ups_exporteron the SNMP card - Reboot the device and go to
http://<ups-ip>:9122/metrics
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).