Prometheus SNMP Exporter: Network Monitoring Tutorial!

  Рет қаралды 8,045

Distro Domain

Distro Domain

Күн бұрын

Пікірлер: 34
@douglaspayne5029
@douglaspayne5029 3 күн бұрын
This is an excellent video, well thought out, well presented, perfectly explained. This will help a lot of people! How about if you have 250 devices? This solution seems like it would take a long time. Perhaps if I were a cat with 7 lives then I could use 3 of them to configure Prometheus and get it to work in a medium sized business with about 65 devices across several locations.
@distrodomain
@distrodomain 3 күн бұрын
In my case I’m generating the Prometheus config dynamically from an ansible inventory where we have all our devices so it speeds up the process for that, and on the grafana side we have a dynamic dashboard, thank you for watching !
@Sonnenblume114
@Sonnenblume114 2 ай бұрын
Ok nevermind, it works. Thanks for this Video i watched it maybe 100 times this week but now it works. :D
@distrodomain
@distrodomain 2 ай бұрын
I'm glad it works! yes it's a bit tricky the whole setup, once you understand the basic parts of the puzzle it get easier, thank you for watching!
@MmauricioHirsch
@MmauricioHirsch 2 ай бұрын
Thank you very much for sharing your knowledge, it is helping me a lot. The tutorial was really good! I'm looking from here in Brazil.
@distrodomain
@distrodomain 2 ай бұрын
I'm glad it was helpful! thank you for watching!
@jostpozman5621
@jostpozman5621 2 ай бұрын
Thank you so much! really great video, keep it up!!
@distrodomain
@distrodomain 2 ай бұрын
I'm glad it was helpful, thank you for watching!
@RealRokton
@RealRokton 3 ай бұрын
Thanks for the guide, seems like "- target_label: __ address__ " in the description has been screwed up by the formatting and changed to "- target_label: _ address_ " (_ changes the text formatting to italic). Sorry for the extra spaces, couldn't figure out how to do the proper formatting my self... One suggestion would be to create a GitHub gist instead with the code
@distrodomain
@distrodomain 3 ай бұрын
I'm working on this to have a better formated code blocks, thank you for the suggestion and for watching!
@mancobasanele4520
@mancobasanele4520 3 ай бұрын
Great guide, how to enable Prometheus to walk the entire device so I can also get metrics for CPU, memory, icmpOutErrors and temperature
@distrodomain
@distrodomain 3 ай бұрын
you can add top level mib to the list to crawl like "icmp" parent that includes: icmpInMsgs icmpInErrors icmpInDestUnreachs icmpInTimeExcds icmpInParmProbs icmpInSrcQuenchs icmpInRedirects icmpInEchos icmpInEchoReps icmpInTimestamps icmpInTimestampReps icmpInAddrMasks icmpInAddrMaskReps icmpOutMsgs icmpOutErrors icmpOutDestUnreachs icmpOutTimeExcds icmpOutParmProbs icmpOutSrcQuenchs icmpOutRedirects icmpOutEchos icmpOutEchoReps icmpOutTimestamps icmpOutTimestampReps icmpOutAddrMasks icmpOutAddrMaskReps icmpStatsTable icmpMsgStatsTable you can use an OID reference table to check each parent, let me know if it's helpful, thank you for watching
@piotrnasiadka1671
@piotrnasiadka1671 9 күн бұрын
Hi can someone help me i did a tutorial and it's working but I also need in grafan a information about what is the temperature of my ups. I think I need to and a question for snnmp to get that information
@damolaazeez3518
@damolaazeez3518 3 ай бұрын
Thank you for this. Would this process work with Cisco devices.
@distrodomain
@distrodomain 3 ай бұрын
yes this works with any device that supports snmp, Thank you for watching!
@TheBroadcastEngineer
@TheBroadcastEngineer 3 ай бұрын
I'm running into this error when I'm trying to run *make generator mibs* make: go: No such file or directory make: *** [Makefile:87: generator] Error 127 I've searched high and low on KZbin and Google... nothing... everyone who is doing this tutorial has no problems... Do you have any suggestions? Thanks!
@distrodomain
@distrodomain 3 ай бұрын
You are missing the go programing language, you need to install the devel libraries, if you are on ubuntu try apt install gccgo-go or apt install golang-go thank you for watching
@TheBroadcastEngineer
@TheBroadcastEngineer 3 ай бұрын
@@distrodomain awesome I’ll give that a shot on Monday, thank you!
@TheBroadcastEngineer
@TheBroadcastEngineer 3 ай бұрын
@@distrodomain thank you so much! I missed that step completely and it’s working now.
@stefhaniemilagrosjaramillo2299
@stefhaniemilagrosjaramillo2299 2 ай бұрын
Hi that is only possible with snmp v3? its not allow to v1 or v2?
@mizatto
@mizatto 2 ай бұрын
I make it work with v2, since I could not made it work with v3
@distrodomain
@distrodomain 2 ай бұрын
Yes it works with v1 and v2, I do recommend using v3 tho, thank you for watching!
@jakebenjamin8895
@jakebenjamin8895 2 ай бұрын
Do you have a discord or anything similar for community help ? Can't seem to get this to work with custom mibs for a arista switch
@distrodomain
@distrodomain 2 ай бұрын
The discord is coming soon, and actually I will be adding some arista switches to my system soon, mibs you are probably good with what comes on the generator, what you need to look for is what OIDs you want to scrape like interfaces, or ifHCInOctets, under ifmib, or are you having issue generating the config, thank you for watching!
@jakebenjamin8895
@jakebenjamin8895 2 ай бұрын
@@distrodomain Having issues with generating the config to use the bgp mib files, primary use of this to to monitor the peering
@distrodomain
@distrodomain 2 ай бұрын
what error are you getting?
@jakebenjamin8895
@jakebenjamin8895 2 ай бұрын
@@distrodomain on a fresh install now and its now saying on startup of snmp-exporter ts=2024-09-20T21:35:50.933Z caller=main.go:212 level=info msg="Starting snmp_exporter" version="(version=0.26.0, branch=HEAD, revision=44f8732988e726bad3f13d5779f1da7705178642)" concurrency=1 debug_snmp=false ts=2024-09-20T21:35:50.933Z caller=main.go:213 level=info build_context="(go=go1.22.3, platform=linux/amd64, user=root@90ba0aabb239, date=20240511-11:16:35, tags=unknown)" ts=2024-09-20T21:35:51.036Z caller=main.go:220 level=error msg="Error parsing config file" err="yaml: unmarshal errors: line 29871: field datetime_pattern not found in type config.Metric line 30277: field datetime_pattern not found in type config.Metric line 30293: field datetime_pattern not found in type config.Metric line 30309: field datetime_pattern not found in type config.Metric line 30325: field datetime_pattern not found in type config.Metric line 30341: field datetime_pattern not found in type config.Metric line 30357: field datetime_pattern not found in type config.Metric line 30373: field datetime_pattern not found in type config.Metric line 30389: field datetime_pattern not found in type config.Metric line 30405: field datetime_pattern not found in type config.Metric" ts=2024-09-20T21:35:51.036Z caller=main.go:221 level=error msg="Possible old config file, see github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md" This is on a fresh image of ubuntu followed all the steps to a tee.
@jakebenjamin8895
@jakebenjamin8895 2 ай бұрын
@@distrodomain on a fresh install ts=2024-09-20T22:39:48.867Z caller=main.go:212 level=info msg="Starting snmp_exporter" version="(version=0.26.0, branch=HEAD, revision=44f8732988e726bad3f13d5779f1da7705178642)" concurrency=1 debug_snmp=false ts=2024-09-20T22:39:48.867Z caller=main.go:213 level=info build_context="(go=go1.22.3, platform=linux/amd64, user=root@90ba0aabb239, date=20240511-11:16:35, tags=unknown)" ts=2024-09-20T22:39:48.965Z caller=main.go:220 level=error msg="Error parsing config file" err="yaml: unmarshal errors: line 29876: field datetime_pattern not found in type config.Metric line 30282: field datetime_pattern not found in type config.Metric line 30298: field datetime_pattern not found in type config.Metric line 30314: field datetime_pattern not found in type config.Metric line 30330: field datetime_pattern not found in type config.Metric line 30346: field datetime_pattern not found in type config.Metric line 30362: field datetime_pattern not found in type config.Metric line 30378: field datetime_pattern not found in type config.Metric line 30394: field datetime_pattern not found in type config.Metric line 30410: field datetime_pattern not found in type config.Metric" ts=2024-09-20T22:39:48.965Z caller=main.go:221 level=error msg="Possible old config file, see github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md"
@samkancil5333
@samkancil5333 2 ай бұрын
Hi Bro, I wan to add module fortigate to snmp_exporter, i have MIB file Fortigate but run the generate not detected
@distrodomain
@distrodomain 2 ай бұрын
put the fortinet mibs in the mibs folder, then on your generator conf, you need to put what oids you want to include in the config to scrape, then generate the config again, let me know if it gives you any errors, thank you for watching!
@overbytex2
@overbytex2 9 күн бұрын
lol, not so straight forward huh :D generator ruins it
Protect your passwords now! - A Bitwarden Tutorial
18:14
Distro Domain
Рет қаралды 920
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 40 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,2 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Monitoring Proxmox VE With Prometheus And Grafana
16:09
Tech Tutorials - David McKone
Рет қаралды 15 М.
I Monitored My Network with Grafana (2024)
22:01
Antonio Persiano
Рет қаралды 7 М.
Introduction to the Prometheus Monitoring System | Key Concepts and Features
10:38
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 86 М.
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 678 М.
How to install Kubernetes on Rocky Linux: Complete Setup Tutorial
21:19
Meet netboot.xyz - Network Boot Any Operating System
25:00
Techno Tim
Рет қаралды 783 М.
docker stack is my new favorite way to deploy to a VPS
27:47
Dreams of Code
Рет қаралды 83 М.
Monitoring Your Internet Connection With Prometheus And Grafana
11:03
Tech Tutorials - David McKone
Рет қаралды 10 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН