Code in this video_Monitor Ubuntu/Debian with Node Exporter on Prometheus Server

Prometheus – How to Monitor Ubuntu or Debian Client with Node Exporter on Prometheus Server / Add Target to Monitor in Prometheus Server / Install and Configure Node Exporter on Ubuntu / Debian Client to Add Target on Prometheus

📌 On Client

	https://prometheus.io/download/

	sudo useradd -rs /bin/false node_exporter

[Unit]

Description=Node Exporter

Wants=network-online.target

After=network-online.target

[Service]

User=node_exporter

Group=node_exporter

Type=simple

Restart=on-failure

RestartSec=5s

ExecStart=/usr/local/bin/node_exporter

[Install]

WantedBy=multi-user.target

📌 On Server

  - job_name: "Hostname-Client"

    scrape_interval: 10s

    static_configs:

      - targets: ["IP-of-Client:9100"]

Leave a Reply

Your email address will not be published. Required fields are marked *