Michael Schwarz f25db2b589 Take response of new batctl cli | 4 anos atrás | |
---|---|---|
lib | 4 anos atrás | |
.editorconfig | 8 anos atrás | |
.gitignore | 7 anos atrás | |
LICENSE | 8 anos atrás | |
README.md | 7 anos atrás | |
config.json.example | 7 anos atrás | |
ext-respondd.py | 5 anos atrás | |
ext-respondd.service.example | 7 anos atrás |
A gluon compatible status script for respondd in python.
apt-get install python3-netifaces ethtool lsb-release
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.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
Collecting data from respondd:
Respondd for servers: