Generarates inventory for ansible from etcd using python-etcd library.
The script assumes etcd.ini to be present alongside it. To choose a different path, set the ETCD_INI_PATH environment variable:
export ETCD_INI_PATH=/path/to/etcd.ini
This is my notes on setting up node metrics to prometheus from an Allstar HamVoip system. This is very much a work in progress and subject to change. I used to export the data as JSON and have telegraf import into influxdb. My new setup exports as prometheus compatible metrics and uses grafan-agent to push the metrics into prometheus. This allows one to utilize the free grafana cloud. I'm looking in the future to have a version that can automatically creates metrics for every