No video

I Monitored My Network with Grafana (2024)

  Рет қаралды 2,658

Antonio Persiano

Antonio Persiano

Күн бұрын

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

Пікірлер: 11
@AntonioPersianoTech
@AntonioPersianoTech Ай бұрын
Let me know what you think about Grafana? Leave a comment here..
@vijaiy1
@vijaiy1 Ай бұрын
Great explanation! Thanks for explaining :)
@edersilva7591
@edersilva7591 Ай бұрын
Thanks for explanation, nice video
@AntonioPersianoTech
@AntonioPersianoTech Ай бұрын
Thanks for commenting and liking my video.
@drew1on1e34
@drew1on1e34 26 күн бұрын
How do I change the IPs in the Prometheus.yml file to match my ipconfig? When I run sudo vi prometheus.yml edit. It informs me there is a swap file lock detected.
@AntonioPersianoTech
@AntonioPersianoTech 23 күн бұрын
Try stopping prometheus container first, edit then try starting it again.
@msafyanaali1773
@msafyanaali1773 23 күн бұрын
i want monitor Mikrotik router is it possible?
@AntonioPersianoTech
@AntonioPersianoTech 23 күн бұрын
Yes if it supports snmp which mikrotik does then you can.
@dreeastwood2500
@dreeastwood2500 Ай бұрын
Great video, do you happen to collect logs with Grafana Loki ? Been looking for videos that walks through a setup where it collects syslogs from embedded devices.
@AntonioPersianoTech
@AntonioPersianoTech Ай бұрын
Thanks for your kind comment. Yes I have run Loki to collect logs, maybe its an idea for another video. 🤔 Are you currently using grafana with prometheus to monitor your devices?
@dreeastwood2500
@dreeastwood2500 Ай бұрын
@@AntonioPersianoTech would love to see how your handle logging because I cannot for the life of me get to work (especially since promtail is gonna be deprecated and “alloy” is replacing it) And no not yet, using netdata rn to get metrics.
Using SNMP to monitor network devices #CMKTutorial
7:09
Checkmk
Рет қаралды 31 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 34 МЛН
Prometheus SNMP Exporter: Network Monitoring Tutorial!
21:11
Distro Domain
Рет қаралды 2,1 М.
Zabbix vs Grafana: Which Is Better?
10:44
Antonio Persiano
Рет қаралды 1 М.
Prometheus : Query SNMP from a CISCO Switch
9:41
SBCODE
Рет қаралды 16 М.
Prometheus SNMP_Exporter Tutorial
34:28
RandomAccessTutorials
Рет қаралды 38 М.
Dashboards for DAYS! - How we use Grafana in our #homelab!
9:53
Uptime Kuma Open Source Uptime Monitor for HomeLab Server monitoring
18:41
VirtualizationHowto
Рет қаралды 33 М.
The Ultimate Git Tutorial for Beginners
17:48
Antonio Persiano
Рет қаралды 3,9 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН