19 lines
362 B
Markdown
19 lines
362 B
Markdown
|
# Monitoring server role
|
||
|
|
||
|
Installs prometheus and grafana, make prometheus listen to localhost and
|
||
|
grafana listen to the VPN interface only.
|
||
|
|
||
|
scrape hosts defined in the inventory (todo: check that this works)
|
||
|
|
||
|
# Expected host vars
|
||
|
|
||
|
**vpn_ip**
|
||
|
|
||
|
# Expected inventory config
|
||
|
|
||
|
```
|
||
|
[vpn_hosts]
|
||
|
host1 vpn_ip=… ansible_host=…
|
||
|
hosT2 vpn_ip=… ansible_host=…
|
||
|
```
|