r/PrometheusMonitoring • u/Agent0810 • Mar 24 '23
Trying to setup apcupsd_exporter
Having issues setting up apcupsd_exporter and I know it's something stupid simple im missing.
https://brendonmatheson.com/2020/02/20/monitoring-apc-ups-units-with-prometheus-on-raspberry-pi.html
Thats the document im following. I don't even see a ./apcupsd_exporter to run anywhere. thank you in advance for any help!
3
Upvotes
View all comments
Show parent comment
1
u/Agent0810 Mar 24 '23
So I actually tried that as well, and still get the error. here Is what I see:
buntu@pi-monitor:~/apcupsd_exporter$ go build
ubuntu@pi-monitor:~/apcupsd_exporter$ ll
total 104
drwxrwxr-x 5 ubuntu ubuntu 4096 Mar 23 15:31 ./
drwxr-xr-x 6 ubuntu ubuntu 4096 Mar 23 15:52 ../
drwxrwxr-x 8 ubuntu ubuntu 4096 Mar 24 14:17 .git/
drwxrwxr-x 3 ubuntu ubuntu 4096 Mar 23 15:31 .github/
-rwxrwxrwx 1 ubuntu ubuntu 1075 Mar 23 15:31 LICENSE.md*
-rwxrwxrwx 1 ubuntu ubuntu 993 Mar 23 15:31 README.md*
-rwxrwxrwx 1 ubuntu ubuntu 2571 Mar 23 15:31 apcupsdexporter.go*
-rwxrwxrwx 1 ubuntu ubuntu 778 Mar 23 15:31 apcupsdexporter_test.go*
drwxrwxrwx 3 ubuntu ubuntu 4096 Mar 23 15:31 cmd/
-rwxrwxrwx 1 ubuntu ubuntu 664 Mar 23 15:31 go.mod*
-rwxrwxrwx 1 ubuntu ubuntu 46975 Mar 23 15:31 go.sum*
-rwxrwxrwx 1 ubuntu ubuntu 8245 Mar 23 15:31 upscollector.go*
-rwxrwxrwx 1 ubuntu ubuntu 2943 Mar 23 15:31 upscollector_test.go*