Skip to main content

Create Graphs from tinc Stats

Project description

# Generate Graphs from tinc

## Install
### Nix

# tinc_pre is required:
nix-env -i -f tinc_graphs.nix

## e.g. in Retiolum:
## krebs.retiolum.tinc = pkgs.tinc_pre
### Local

python setup.py install
# also install graphviz,imagemagic for building graphs


### Usage:

see source of the 2 builder scripts:

#all-around-builder
# env: EXTERNAL_FOLDER, INTERNAL_FOLDER, GEODB, TINC_HOSTPATH
all-the-graphs

# build actual graphs
build-graph

# exported py scripts
tinc-stats2json # - parses tinc current state into json
tinc-build-graph # - transfers json to graph
copy-map # - copies map.html into $1
add-geodata # - adds geodata to json
tinc-availability-stats # adds availability data to json

## Geodb infos

- http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- nix-env -iA geolite-legacy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinc_graphs-0.2.11.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file tinc_graphs-0.2.11.tar.gz.

File metadata

File hashes

Hashes for tinc_graphs-0.2.11.tar.gz
Algorithm Hash digest
SHA256 ccb9925537cd15786ccc68b30162409709f9b8131a75baf4f865230d55d01ac9
MD5 d9f9f2a55a45448977def70830de213c
BLAKE2b-256 310c9ba1c6a4753a39bd16ee61cf589a5617cb49fa11f2b9fb8f36d1424efca7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page