From f6c3f9bbf1411f4eb2ff5d869c4f3371a7eb18c1 Mon Sep 17 00:00:00 2001 From: mikogarker Date: Fri, 15 Aug 2025 12:47:46 +0200 Subject: [PATCH] updates for current versions of node exporter and prometheus api --- docs/node-exporter.md | 8 ++++---- docs/prometheus.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/node-exporter.md b/docs/node-exporter.md index d06ba72..aece73d 100755 --- a/docs/node-exporter.md +++ b/docs/node-exporter.md @@ -13,7 +13,7 @@ description: The Node Exporter is a project that is maintained through the Prome Begin by downloading Node Exporter using the wget command: ```bash -wget https://github.com/prometheus/node_exporter/releases/download/v1.7.0/node_exporter-1.7.0.linux-amd64.tar.gz +wget https://github.com/prometheus/node_exporter/releases/download/v1.9.1/node_exporter-1.9.1.linux-amd64.tar.gz ``` Note: Ensure you are using the latest version of Node Exporter and the correct architecture build for your server. The provided link is for amd64. For the latest releases, check here - [Prometheus Node Exporter Releases](https://github.com/prometheus/node_exporter/releases) @@ -24,7 +24,7 @@ Note: Ensure you are using the latest version of Node Exporter and the correct a After downloading, extract the contents with the following command: ```bash -tar xvf node_exporter-1.7.0.linux-amd64.tar.gz +tar xvf node_exporter-1.9.1.linux-amd64.tar.gz ``` ## Move the Node Exporter Binary @@ -32,7 +32,7 @@ tar xvf node_exporter-1.7.0.linux-amd64.tar.gz Change to the directory and move the node_exporter binary to /usr/local/bin: ```bash -cd node_exporter-1.7.0.linux-amd64 +cd node_exporter-1.9.1.linux-amd64 ``` ```bash @@ -42,7 +42,7 @@ sudo cp node_exporter /usr/local/bin Then, clean up by removing the downloaded tar file and its directory: ```bash -rm -rf ./node_exporter-1.7.0.linux-amd64 +rm -rf ./node_exporter-1.9.1.linux-amd64 ``` ## Create a Node Exporter User diff --git a/docs/prometheus.md b/docs/prometheus.md index f60d135..b94d5d3 100755 --- a/docs/prometheus.md +++ b/docs/prometheus.md @@ -49,7 +49,7 @@ alerting: - targets: [] scheme: http timeout: 10s - api_version: v1 + api_version: v2 scrape_configs: - job_name: prometheus honor_timestamps: true