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
## 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
Release history Release notifications | RSS feed
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.3.8.tar.gz
(12.3 kB
view details)
File details
Details for the file tinc_graphs-0.3.8.tar.gz
.
File metadata
- Download URL: tinc_graphs-0.3.8.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49586db7da014c5aabc3bffbd4b3582091644b245a7c85be9eba67e23098049 |
|
MD5 | a19af18a870fe24f6d8ffa79a70ad39d |
|
BLAKE2b-256 | 87c4bf3c784a8bb4f9c03e28e72f7b8217c2e1a7c900db399b0681009a0566f1 |