Personal setup packages for Prometheus as simple server monitoring
Below package is used
- Prometheus
- Alert Manager
- Grafana
Running on host server by docker compose
- Default auth is admin/admin
- Add data source on http://prometheus:9090
- Import default metrics dashboard as via
grafana/theme/node-exporter-server-metrics-rev6.json
- Run node exporter on clients by
sudo docker run -d -p 9100:9100 --net="host" quay.io/prometheus/node-exporter
- Update
prometheus.yaml
- Update with
prometheus.yaml
viacurl -X POST http://localhost:9090/-/reload
https://www.robustperception.io/sending-email-with-the-alertmanager-via-gmail/