Welcome to my channel! In this video, I will walk you through the process of setting up Grafana and Prometheus to monitor network devices using SNMP-Exporter.
Here's what you'll learn in this video:
Introduction to Grafana and Prometheus: Understand the basics of these powerful monitoring tools and how they work together to collect and visualize data.
SNMP-Exporter Configuration: Learn how to configure the SNMP-Exporter to gather metrics from network devices using the SNMP protocol.
Using a Grafana Dashboard Template: Discover how easy it is to set up a monitoring dashboard using a pre-made template from the Grafana website. This demonstration shows that you don't need to know how to program to effectively use Prometheus and Grafana.
Whether you are a beginner looking to get started with network monitoring or an experienced user seeking to enhance your monitoring setup, this video has something for everyone.
Here is a link to my github to clone my repo:
github.com/ant...
Where to download grafana dashboards
grafana.com/gr...
Here is how to start
Remember that you need to install docker-compose first.
Then:
git clone github.com/ant...
sudo chmod -R 777 volumes
How to install Node-Exporter
wget github.com/pro...
tar xvfz node_exporter-*.*-amd64.tar.gz
cd node_exporter-*.*-amd64
./node_exporter
sudo mv node_exporter-1.8.1.linux-amd64 /usr/local/bin/
Create a file
sudo nano /etc/systemd/system/node.exporter.service
Paste the following:
[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target
[Service]
User=node_exporter
ExecStart=/usr/local/bin/node_exporter
Restart=on-failure
[Install]
WantedBy=default.target[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target
Save the file
Then add node-exporter as a service by doing the following:
sudo useradd -rs /bin/false node_exporter
sudo systemctl daemon-reload
sudo systemctl enable node_exporter
sudo systemctl start node_exporter
sudo systemctl status node_exporter
Негізгі бет I Monitored My Network with Grafana (2024)
No video
Пікірлер: 11