mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-10-01 16:04:06 +02:00
switch to configfile instead of env
This commit is contained in:
parent
881c06173b
commit
c4d579b033
9 changed files with 629 additions and 274 deletions
13
config.sample.toml
Normal file
13
config.sample.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[mqtt]
|
||||
hostname = "mqtt.example.com"
|
||||
username = "wifi-exporter"
|
||||
password_file = "/path/to/password"
|
||||
|
||||
[exporter]
|
||||
port = 1234
|
||||
interfaces = ["eth1", "eth2"]
|
||||
|
||||
[ssh]
|
||||
host = "accesspoint.example.com:22"
|
||||
key_file = "/path/to/ssh/key"
|
||||
pubkey_file = "/path/to/ssh/key.pub"
|
||||
Loading…
Add table
Add a link
Reference in a new issue