README.md aktualisiert
This commit is contained in:
parent
f5c507bbf3
commit
15156bae71
15
README.md
15
README.md
|
@ -2,6 +2,7 @@
|
||||||
## Prometheus Node-Explorer Grafana
|
## Prometheus Node-Explorer Grafana
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
## Prometheus docker Install
|
## Prometheus docker Install
|
||||||
|
|
||||||
Docker installation
|
Docker installation
|
||||||
|
@ -32,7 +33,9 @@ Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
||||||
<code>--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml</code>
|
<code>--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml</code>
|
||||||
|
|
||||||
|
|
||||||
Prometheus Konfiguration – prometheus.yml
|
|
||||||
|
|
||||||
|
## Prometheus Konfiguration – prometheus.yml
|
||||||
|
|
||||||
<pre><span># my global config
|
<pre><span># my global config
|
||||||
global:
|
global:
|
||||||
|
@ -83,6 +86,8 @@ scrape_configs:
|
||||||
</pre></span>
|
</pre></span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Node Exporter installieren
|
## Node Exporter installieren
|
||||||
|
|
||||||
Ordner erstellen, Node Exporter Download, Entpacken, Ordner öffnen
|
Ordner erstellen, Node Exporter Download, Entpacken, Ordner öffnen
|
||||||
|
@ -96,10 +101,11 @@ tar xvfz node_exporter-1.3.1.linux-amd64.tar.gz
|
||||||
cd node_exporter-*.*-amd64
|
cd node_exporter-*.*-amd64
|
||||||
./node_exporter </pre></span>
|
./node_exporter </pre></span>
|
||||||
|
|
||||||
|
|
||||||
<p><a href="https://github.com/prometheus/node_exporter/releases" target="_blank">Github Node-Exporter</a></p>
|
<p><a href="https://github.com/prometheus/node_exporter/releases" target="_blank">Github Node-Exporter</a></p>
|
||||||
|
|
||||||
|
|
||||||
Start Skript für Node Exporter
|
# Start Skript für Node Exporter
|
||||||
|
|
||||||
<pre>nano /etc/systemd/system/node_exporter.service</pre>
|
<pre>nano /etc/systemd/system/node_exporter.service</pre>
|
||||||
|
|
||||||
|
@ -121,6 +127,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 \
|
||||||
|
@ -133,6 +140,8 @@ systemctl status node_exporter</pre></span>
|
||||||
--path.rootfs=/host</pre></span>
|
--path.rootfs=/host</pre></span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Grafana Docker installieren
|
## Grafana Docker installieren
|
||||||
|
|
||||||
<pre><span>docker run \
|
<pre><span>docker run \
|
||||||
|
@ -144,6 +153,8 @@ systemctl status node_exporter</pre></span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>Schritt-für-Schritt-Anleitung für die Konfiguration eines Panels:</p>
|
<p>Schritt-für-Schritt-Anleitung für die Konfiguration eines Panels:</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in New Issue