fork of https://github.com/kumina/libvirt_exporter, used to collect metrics used by capsul-flask
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
j3s 073f0bdfc9 Add unused memory & stencils for future 2 years ago
libvirt_schema update modules, remove nova crap, normalize labels 2 years ago
.gitignore In the beginning there was darkness 2 years ago
LICENSE In the beginning there was darkness 2 years ago
README.md Add credit 2 years ago
go.mod Update deps 2 years ago
go.sum Add unused memory & stencils for future 2 years ago
main.go Add unused memory & stencils for future 2 years ago

README.md

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