Pi-Hole terminal monitoring tool
For convenience you may want to alias pimon
to point at a particular config e.g. pimon -c $HOME/.config/pimon/pimon.json
.
q
<Space>
<Left>
<Right>
z
x
e
d
cargo install pimon
``` pimon
USAGE: pimon [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-c, --config-file-path
Note: A prefix of http://
or https://
is required for the host attribute.
json
{
// List of servers. Length must be >= 1.
"servers": [
{
// Name of server
"name": "Example 1",
// Host prefixed with protocol
"host": "http://192.168.1.1",
// Optional API Key (From Pi-Hole interface -> Settings -> API -> Show API Token)
"api_key": "0123456789abcedf0123456789abcedf0123456789abcedf0123456789abcedf"
},
{
"name": "Example 2",
"host": "http://pihole.local"
}
],
// Delay between updates in milliseconds
"update_delay": 5000
}