Marcus Scharf 63adccf644 style rework / fix bug / default-config rework | 7 лет назад | |
---|---|---|
lib | 7 лет назад | |
.editorconfig | 8 лет назад | |
.gitignore | 7 лет назад | |
LICENSE | 8 лет назад | |
README.md | 7 лет назад | |
alias.json.example | 7 лет назад | |
config.json.example | 7 лет назад | |
ext-respondd.py | 7 лет назад | |
ext-respondd.service.example | 7 лет назад |
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) (Needed: typical bat0)bridge
(string) (Needed: typical 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)Aliases to overwrite the returned server data.
Copy alias.json.example
to alias.json
and input e.g. owner information.
(cp alias.json.example alias.json
)
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
Add this to your aliases.json in your HopGlass-Server if this a gateway.
"gw2": {
"nodeinfo": {
"hostname": "Gateway 2",
"node_id": "gw2"
},
"flags": {
"gateway": true
}
}
Collecting data from respondd:
Respondd for servers: