README.md aktualisiert

This commit is contained in:
M_Viper 2024-02-15 14:44:08 +00:00
parent 8a69c50a4c
commit a2dd7a883c
1 changed files with 17 additions and 2 deletions

View File

@ -30,7 +30,7 @@ docker volume create prometheus-conf</code>
<code>--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml</code>
Prometheus config (Prometheus.yml)
Prometheus Konfiguration prometheus.yml
<pre><span># my global config
global:
@ -79,4 +79,19 @@ scrape_configs:
static_configs:
- targets: ["127.0.0.1:9100"]
</pre></span>
Node Exporter installieren
## Ordner erstellen, Node Exporter Download, Entpacken, Ordner öffnen
## Node Exporter testweise starten
<pre><span>
mkdir /opt/node_exporter
cd /opt/node_exporter
wget https://github.com/prometheus/node_exporter/releases/download/v1.7.0/node_exporter-1.7.0.linux-amd64.tar.gz
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>