fork of https://github.com/kumina/libvirt_exporter, used to collect metrics used by capsul-flask
Find a file
2020-05-16 23:44:15 -05:00
libvirt_schema update modules, remove nova crap, normalize labels 2020-04-18 19:55:17 -05:00
.gitignore In the beginning there was darkness 2020-04-18 19:12:42 -05:00
go.mod Update deps 2020-05-04 13:14:09 -05:00
go.sum Add unused memory & stencils for future 2020-05-16 23:44:15 -05:00
LICENSE In the beginning there was darkness 2020-04-18 19:12:42 -05:00
main.go Add unused memory & stencils for future 2020-05-16 23:44:15 -05:00
README.md Add credit 2020-05-04 12:59:14 -05:00

libvirtd_exporter

hacking

get the project:

git clone git@cyberia.club:services/libvirtd_exporter
cd libvirtd_exporter

repeat the following:

<code>
pkill libvirtd_exporter && go build && ./libvirtd_exporter &
curl localhost:9729/metrics

clean up:

pkill libvirtd_exporter
go clean

deployment

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v
scp libvirtd_exporter cyberian@baikal.cyberia.club:
ssh cyberian@baikal.cyberia.club
sudo -i
mv /home/cyberian/libvirtd_exporter /usr/local/bin/libvirtd_exporter
systemctl restart libvirtd_exporter