Skip to content

Instantly share code, notes, and snippets.

View ytjohn's full-sized avatar

John Hogenmiller ytjohn

View GitHub Profile
@ytjohn
ytjohn / README.md
Last active January 2, 2023 14:51
Allstar Supermon External Monitoring

HamVoip Node Metrics

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

@justenwalker
justenwalker / README.md
Created August 30, 2014 18:03
Ansible Dynamic Inventory script for etcd

etcd dynamic inventory script

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