User Tools

Site Tools


tasks:grafana_agent_setup_for_lab_nodes_monitoring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tasks:grafana_agent_setup_for_lab_nodes_monitoring [2026/04/16 12:14] – akraitmantasks:grafana_agent_setup_for_lab_nodes_monitoring [2026/05/03 14:31] (current) – akraitman
Line 32: Line 32:
 1. **node_exporter**   1. **node_exporter**  
    - Installed on every host (prometheus-node-exporter on Debian/Ubuntu, node_exporter on RedHat via EPEL)      - Installed on every host (prometheus-node-exporter on Debian/Ubuntu, node_exporter on RedHat via EPEL)  
-   - Exposes standard host metrics (CPU, memory, disk, network, etc.) on http://localhost:9100/metrics`+   - Exposes standard host metrics (CPU, memory, disk, network, etc.) on http://localhost:9100/metrics
  
 2. **Grafana Agent**   2. **Grafana Agent**  
    - Lightweight Prometheus-compatible agent      - Lightweight Prometheus-compatible agent  
-   - Scrapes `node_exporter` locally from localhost:9100  +   - Scrapes node_exporter locally from localhost:9100  
    - Relabels the instance using the host’s FQDN      - Relabels the instance using the host’s FQDN  
    - Forwards all collected metrics to the central Mimir using the remote_write protocol    - Forwards all collected metrics to the central Mimir using the remote_write protocol
Line 51: Line 51:
 - Scrapes the node job from localhost:9100 - Scrapes the node job from localhost:9100
 - Applies relabeling: - Applies relabeling:
-  - instance`: <fqdn>:9100 +  - instance: <fqdn>:9100 
-  - nodename`: <fqdn>+  - nodename: <fqdn>
 - Forwards metrics to Mimir with basic auth credentials stored in the secrets repository(in mimir_password.yml): - Forwards metrics to Mimir with basic auth credentials stored in the secrets repository(in mimir_password.yml):
  
-** Mimir Endpoint ** +** Mimir Endpoints ** 
 +  Internal
   https://mimir-jenkins-monitoring.apps.pok.os.sepia.ceph.com/api/v1/push   https://mimir-jenkins-monitoring.apps.pok.os.sepia.ceph.com/api/v1/push
 +  
 +  External
 +  https://mimir.ceph.com/api/v1/push
  
tasks/grafana_agent_setup_for_lab_nodes_monitoring.1776341670.txt.gz · Last modified: by akraitman