Integrate monitoring into local grid
Builds on !87 (merged). Implements privatestorageops#344.
This MR integrates my previous work into the PrivateStorageio repo.
This MR is for the local
deployment, subsequent MRs will add this to staging
and finally production
.
Getting close :)
This does have:
- Server software (Grafana, Prometheus) on the monitoring server
- Prometheus Node Exporter on the nodes
- Grafana config for a nice Resources Dashboard
- Some clean up work.
This does not include:
- Centralized logging. Loki is too old in Nixpkgs 19.09. Will be fixed later.
- A services dashboard / monitoring of our software. That will be extra MRs.
After merging & morph deploying this, there's a Grafana running on the local monitoring host. Connect to it through a SSH tunnel and you get something like this:
- Related to privatestorageops#285
- Related to privatestorageops#293
- Related to privatestorageops#271
- Related to privatestorageops#301
Edited by Florian Sesser
Merge request reports
Activity
added Monitoring label
added 1 commit
- 2a8fb2f4 - Node exporter: Opening firewall once is enough
added 1 commit
- 4d45d824 - node exporter: only accept packets from monitoringvpn
added 1 commit
- 108796a0 - Clean up, whitespace/comment/line ordering only changes
added 10 commits
- 87c7d0bc - Add docs on how to create a VPN client private and pubkey in one line
- 45d02576 - Remove parameter from config.json
- c1093ad8 - fix vpn private key path pointers
- 97469b37 - Add docs on how to create VPN keypairs
- 94691286 - Rename makePeers -> clients
- 73d379a6 - Move key generating docs into operations documentation
- 435d9c80 - More sensible defaults for the VPN key material location
- 18c5fc6d - Paths don't end with slashes here
- 42dc9127 - Use wireguard default port
- e0050b9a - Merge branch '341.monitoring-vpn' into 344.integrate-monitoring-into-local-grid
Toggle commit list- Resolved by Florian Sesser
Gone through once more; I believe this is done. Looking fwd to your improvement suggestions @jcalderone !
mentioned in merge request !89 (merged)
mentioned in merge request !91 (merged)
Please register or sign in to reply