README.md aktualisiert
This commit is contained in:
parent
15156bae71
commit
4c985811c8
40
README.md
40
README.md
|
@ -1,11 +1,10 @@
|
||||||
<p align="center">
|
<p align="center">
|
||||||
## Prometheus Node-Explorer Grafana
|
## Prometheus Node-Explorer Grafana
|
||||||
</p>
|
</p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
## Prometheus docker Install
|
## Prometheus docker Install
|
||||||
|
|
||||||
Docker installation
|
|
||||||
|
|
||||||
<code>apt update && apt upgrade
|
<code>apt update && apt upgrade
|
||||||
apt install curl</code>
|
apt install curl</code>
|
||||||
|
@ -31,10 +30,9 @@ docker volume create prometheus-conf</code>
|
||||||
Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
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>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
|
||||||
## Prometheus Konfiguration – prometheus.yml
|
## Prometheus Konfiguration – prometheus.yml
|
||||||
|
|
||||||
<pre><span># my global config
|
<pre><span># my global config
|
||||||
|
@ -84,10 +82,9 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["127.0.0.1:9100"]
|
- targets: ["127.0.0.1:9100"]
|
||||||
</pre></span>
|
</pre></span>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
|
||||||
## Node Exporter installieren
|
## Node Exporter installieren
|
||||||
|
|
||||||
Ordner erstellen, Node Exporter Download, Entpacken, Ordner öffnen
|
Ordner erstellen, Node Exporter Download, Entpacken, Ordner öffnen
|
||||||
|
@ -101,9 +98,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> </p>
|
||||||
|
<p> </p>
|
||||||
<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>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
|
||||||
# Start Skript für Node Exporter
|
# Start Skript für Node Exporter
|
||||||
|
|
||||||
|
@ -126,8 +125,9 @@ systemctl start node_exporter
|
||||||
systemctl enable node_exporter
|
systemctl enable node_exporter
|
||||||
systemctl status node_exporter</pre></span>
|
systemctl status node_exporter</pre></span>
|
||||||
|
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
## Node Exporter mit Docker starten (Alternative)
|
## Node Exporter mit Docker starten (Alternative)
|
||||||
|
|
||||||
<pre><span>docker run -d \
|
<pre><span>docker run -d \
|
||||||
|
@ -139,9 +139,9 @@ systemctl status node_exporter</pre></span>
|
||||||
quay.io/prometheus/node-exporter:latest \
|
quay.io/prometheus/node-exporter:latest \
|
||||||
--path.rootfs=/host</pre></span>
|
--path.rootfs=/host</pre></span>
|
||||||
|
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
## Grafana Docker installieren
|
## Grafana Docker installieren
|
||||||
|
|
||||||
<pre><span>docker run \
|
<pre><span>docker run \
|
||||||
|
@ -152,8 +152,8 @@ systemctl status node_exporter</pre></span>
|
||||||
grafana/grafana:latest</pre></span>
|
grafana/grafana:latest</pre></span>
|
||||||
|
|
||||||
|
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in New Issue