README.md aktualisiert
This commit is contained in:
parent
7a8bd103f5
commit
bec4c474b0
14
README.md
14
README.md
|
@ -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" \
|
||||||
|
@ -130,4 +130,14 @@ systemctl status node_exporter</pre></span>
|
||||||
--restart=always \
|
--restart=always \
|
||||||
-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>
|
Loading…
Reference in New Issue