README.md aktualisiert

This commit is contained in:
M_Viper 2024-02-15 14:59:08 +00:00
parent 7a8bd103f5
commit bec4c474b0
1 changed files with 12 additions and 2 deletions

View File

@ -121,7 +121,7 @@ systemctl enable node_exporter
systemctl status node_exporter</pre></span> systemctl status node_exporter</pre></span>
##Node Exporter mit Docker starten (Alternative) ## Node Exporter mit Docker starten (Alternative)
<pre><span>docker run -d \ <pre><span>docker run -d \
--net="host" \ --net="host" \
@ -131,3 +131,13 @@ systemctl status node_exporter</pre></span>
-v "/:/host:ro,rslave" \ -v "/:/host:ro,rslave" \
quay.io/prometheus/node-exporter:latest \ quay.io/prometheus/node-exporter:latest \
--path.rootfs=/host</pre></span> --path.rootfs=/host</pre></span>
## Grafana Docker installieren
<pre><span>docker run \
-p 3000:3000 \
-v grafana-data:/var/lib/grafana \
--restart=always \
--name grafana \
grafana/grafana:latest</pre></span>