README.md aktualisiert
This commit is contained in:
parent
297a1d1f8a
commit
7a8bd103f5
15
README.md
15
README.md
|
@ -103,8 +103,7 @@ Start Skript für Node Exporter
|
||||||
|
|
||||||
<pre>nano /etc/systemd/system/node_exporter.service</pre>
|
<pre>nano /etc/systemd/system/node_exporter.service</pre>
|
||||||
|
|
||||||
<pre><span>
|
<pre><span>[Unit]
|
||||||
[Unit]
|
|
||||||
Description=Node Exporter
|
Description=Node Exporter
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -120,3 +119,15 @@ WantedBy=multi-user.target </pre></span>
|
||||||
systemctl start node_exporter
|
systemctl start node_exporter
|
||||||
systemctl enable 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