README.md aktualisiert
This commit is contained in:
parent
297a1d1f8a
commit
7a8bd103f5
17
README.md
17
README.md
|
@ -103,8 +103,7 @@ Start Skript für Node Exporter
|
|||
|
||||
<pre>nano /etc/systemd/system/node_exporter.service</pre>
|
||||
|
||||
<pre><span>
|
||||
[Unit]
|
||||
<pre><span>[Unit]
|
||||
Description=Node Exporter
|
||||
|
||||
[Service]
|
||||
|
@ -119,4 +118,16 @@ WantedBy=multi-user.target </pre></span>
|
|||
<pre><span>systemctl daemon-reload
|
||||
systemctl start node_exporter
|
||||
systemctl enable node_exporter
|
||||
systemctl status node_exporter</pre></span>
|
||||
systemctl status node_exporter</pre></span>
|
||||
|
||||
|
||||
##Node Exporter mit Docker starten (Alternative)
|
||||
|
||||
<pre><span>docker run -d \
|
||||
--net="host" \
|
||||
--pid="host" \
|
||||
--name=NOEX \
|
||||
--restart=always \
|
||||
-v "/:/host:ro,rslave" \
|
||||
quay.io/prometheus/node-exporter:latest \
|
||||
--path.rootfs=/host</pre></span>
|
Loading…
Reference in New Issue