Add labs
This commit is contained in:
18
04-mosquitto/lab13/lab.txt
Normal file
18
04-mosquitto/lab13/lab.txt
Normal file
@ -0,0 +1,18 @@
|
||||
= Monitoring Prometheus
|
||||
|
||||
Verwenden Sie Prometheus und Grafana, z.B. aus dem beigefügten docker-compose Setup.
|
||||
|
||||
$ docker compose up
|
||||
|
||||
(In docker bereits vorkonfiguriert:)
|
||||
Konfigurieren Sie den Prometheus-Exporter als Scrape Target in Prometheus.
|
||||
Installieren Sie die Dashboards: 1860, 11054, 22739
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'mosquitto'
|
||||
static_configs:
|
||||
- targets: ['mosquitto-exporter:9234']
|
||||
|
||||
|
||||
Rufen Sie Grafana über http://localhost:3000 auf.
|
||||
Sie können sich mittels "admin/admin" anmelden.
|
||||
Reference in New Issue
Block a user