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
|
||||
</p>
|
||||
|
||||
|
||||
## Prometheus docker Install
|
||||
|
||||
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>
|
||||
|
||||
|
||||
Prometheus Konfiguration – prometheus.yml
|
||||
|
||||
|
||||
## Prometheus Konfiguration – prometheus.yml
|
||||
|
||||
<pre><span># my global config
|
||||
global:
|
||||
|
@ -83,6 +86,8 @@ scrape_configs:
|
|||
</pre></span>
|
||||
|
||||
|
||||
|
||||
|
||||
## Node Exporter installieren
|
||||
|
||||
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
|
||||
./node_exporter </pre></span>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
@ -121,6 +127,7 @@ systemctl enable node_exporter
|
|||
systemctl status node_exporter</pre></span>
|
||||
|
||||
|
||||
|
||||
## Node Exporter mit Docker starten (Alternative)
|
||||
|
||||
<pre><span>docker run -d \
|
||||
|
@ -133,6 +140,8 @@ systemctl status node_exporter</pre></span>
|
|||
--path.rootfs=/host</pre></span>
|
||||
|
||||
|
||||
|
||||
|
||||
## Grafana Docker installieren
|
||||
|
||||
<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>
|
||||
<ol>
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue