README.md aktualisiert

This commit is contained in:
M_Viper 2024-02-15 14:57:36 +00:00
parent 297a1d1f8a
commit 7a8bd103f5
1 changed files with 14 additions and 3 deletions

View File

@ -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>