Sen descrición

Michael Schwarz f25db2b589 Take response of new batctl cli %!s(int64=4) %!d(string=hai) anos
lib f25db2b589 Take response of new batctl cli %!s(int64=4) %!d(string=hai) anos
.editorconfig a90c91b4f0 update README, unify example files %!s(int64=8) %!d(string=hai) anos
.gitignore f4126537e7 rework code-struct to classes %!s(int64=7) %!d(string=hai) anos
LICENSE 84ed0af3f3 update README and add LICENSE %!s(int64=8) %!d(string=hai) anos
README.md f8557cd7be merge alias.json into config.json %!s(int64=6) %!d(string=hai) anos
config.json.example f8557cd7be merge alias.json into config.json %!s(int64=6) %!d(string=hai) anos
ext-respondd.py 5988f4770f Change multicast-address to new addres used for respondd-querys %!s(int64=4) %!d(string=hai) anos
ext-respondd.service.example d7ae616530 change path %!s(int64=7) %!d(string=hai) anos

README.md

respondd Status for Servers

A gluon compatible status script for respondd in python.

Dependencies

  • lsb_release
  • ethtool
  • python3.3
  • python3-netifaces
  • batman-adv

Setup

Debian-Dependencies

apt-get install python3-netifaces ethtool lsb-release

config.json

Startparameter for ext-respondd. Copy config.json.example to config.json and change it to match your server configuration. (cp config.json.example config.json)

  • batman (string) (Optional: default bat0)
  • bridge (string) (Optional: default br-client)
  • mesh-wlan (array of string) (Optional: Ad-Hoc batman-Mesh)
  • mesh-vpn (array of string) (Optional: fastd, GRE, L2TP batman-Mesh)
  • fastd_socket (string) (Optional: needed for uplink-flag)
  • rate_limit (integer) (Optional: limit incoming requests per minutes)
  • rate_limit_burst (integer) (Optional: allow burst requests)
  • nodeinfo (array) (Optional: overwrite the returned server data) The JSON content matches one block of the nodes.json, which is outputted by e.g. the HopGlass-Server.

ext-respondd.service

Register ext-respondd as a systemd service

cp ext-respondd.service.example /lib/systemd/system/ext-respondd.service
! modify the path inside of the ext-respondd.service !
systemctl enable ext-respondd
systemctl start ext-respondd

Related projects

Collecting data from respondd:

Respondd for servers: