Prometheus systemd file
=======================
[Unit]
Description=Prometheus
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/etc/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml
Restart=always
[Install]
WantedBy=multi-user.target
Node exporter systemd file
============================
[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/etc/node_exporter/node_exporter
Restart=always
[Install]
WantedBy=multi-user.target
Prometheus scrape file
==========================
global:
scrape_interval: 15s
scrape_configs:
- job_name: node
static_configs:
- targets: ['localhost:9100']
Watch video Monitor Linux Server Performance with Prometheus and Grafana on Ubuntu Server online without registration, duration 08 minute 15 second in high hd quality. This video was added by user Ripon4You 03 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 20 thousand once and liked it 300 people.