Skip to main content

从 tinc Stats 创建图表

项目描述

从 tinc 生成图表

去做

  • 目前 Maps api 密钥是硬编码的tinc_graphs/static/map.html,如果您想使用此功能,您需要手动替换此密钥

安装

尼克斯

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

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

当地的

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

用法:

查看 2 个构建器脚本的来源:

#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

地理数据库信息

上传到pypi

python setup.py sdist
twine upload dist/*

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

tinc_graphs-0.3.11.tar.gz (11.7 kB 查看哈希

已上传 source