📊 Node-exporter + Prometheus + Grafana
Node Exporter
Install and Set Up Node Exporter
# Download and extract Node Exporter
cd $HOME && \
wget https://github.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-amd64.tar.gz && \
tar xvf node_exporter-1.8.2.linux-amd64.tar.gz && \
rm node_exporter-1.8.2.linux-amd64.tar.gz && \
sudo mv node_exporter-1.8.2.linux-amd64 node_exporter && \
chmod +x $HOME/node_exporter/node_exporter && \
sudo mv $HOME/node_exporter/node_exporter /usr/local/bin && \
rm -Rvf $HOME/node_exporter/
# Create a system user with restricted permissions for Node Exporter
sudo useradd --no-create-home --shell /bin/false node_exporterCreate and Enable the exporterd Service
exporterd Service
Verify Logs
Access Node Exporter Metrics
Prometheus
Update Repositories and Upgrade Packages
Install Necessary Utilities
Download and Install Prometheus
Create the Prometheus Service File
Set Permissions
Start and Enable the Prometheus Service

Access Prometheus


Add Additional Servers to Prometheus Configuration
Open the Prometheus Configuration File
Add a New Job for Monitoring

Restart Prometheus
Verify Prometheus is Running Properly
Access Prometheus
Grafana
Install Required Dependencies
Add the Grafana Repository
Create a User for Grafana
Install Grafana Enterprise
Start and Enable the Grafana Server

Access Grafana




Access Prometheus


Download Grafana Dashboard JSON Files



Last updated