From 4c985811c82aff48e34b9e719bcda7d8663405f5 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Thu, 15 Feb 2024 15:25:44 +0000 Subject: [PATCH] README.md aktualisiert --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6c08ebc..a817559 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@

## Prometheus Node-Explorer Grafana

- - +

 

+

 

## Prometheus docker Install - Docker installation apt update && apt upgrade apt install curl @@ -31,10 +30,9 @@ docker volume create prometheus-conf Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit) --storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml - - - - +

 

+

 

+

 

## Prometheus Konfiguration – prometheus.yml
# my global config
@@ -84,10 +82,9 @@ scrape_configs:
     static_configs:
       - targets: ["127.0.0.1:9100"] 
 
- - - - +

 

+

 

+

 

## Node Exporter installieren 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 ./node_exporter - +

 

+

 

Github Node-Exporter

- +

 

+

 

# Start Skript für Node Exporter @@ -126,8 +125,9 @@ systemctl start node_exporter systemctl enable node_exporter systemctl status node_exporter - - +

 

+

 

+

 

## Node Exporter mit Docker starten (Alternative)
docker run -d \
@@ -139,9 +139,9 @@ systemctl status node_exporter
quay.io/prometheus/node-exporter:latest \ --path.rootfs=/host - - - +

 

+

 

+

 

## Grafana Docker installieren
docker run \
@@ -152,8 +152,8 @@ systemctl status node_exporter
grafana/grafana:latest - - +

 

+

 

Schritt-für-Schritt-Anleitung für die Konfiguration eines Panels: