Prometheus : Query SNMP from a CISCO Switch

  Рет қаралды 17,110

SBCODE

SBCODE

Күн бұрын

Пікірлер: 24
@PauloHeaven
@PauloHeaven 9 ай бұрын
Excellent, I got that working with my Netgear and Mikrotik stuff. This software is among the best while being free and open source, but information on how to make it work with SNMP is a bit scarce or goes over too many aspects, and it looked a bit impossible to realize to me as I was just a bit knowledgeable with Grafana and absolutely not with Prometheus. Turns out I did it and you were the one who explained it clearly enough to make this happen.
@toshumalhotra
@toshumalhotra 2 жыл бұрын
Very thanks, great video.
@luchobeto
@luchobeto Жыл бұрын
what about defining a community different from public ?
@valerio53061
@valerio53061 2 жыл бұрын
Hello Sean, I also follow you on Udemy, I wanted to ask you if it was possible and how do you import MIB of a router like Aethra and create a template, would you evaluate the economic aspect?
@mystay88
@mystay88 Жыл бұрын
Thanks!
@len4210
@len4210 3 жыл бұрын
You are the boss
@PrashanAttanayake
@PrashanAttanayake 3 жыл бұрын
I'm getting the following error "server returned HTTP status 500 Internal Server Error. How can I mitigate this ?
@sbcode
@sbcode 3 жыл бұрын
how do you get this error? this is a HTTP error, not SNMP
@PrashanAttanayake
@PrashanAttanayake 3 жыл бұрын
@@sbcode 1stly i got context deadline exceeded , then I increase scrape interval time to 100s, after that I come across with HTTP status error. Also I check with 9116 port, I got following error as well An error has occurred while serving metrics: **> ** > error collecting metric Desc{fqName: “snmp_error”, help: “Error scraping target”, constLabels: {}, variableLabels: []}: error getting target X.X.0.254: request timeout (after 3 retries)......node exporter working well
@sbcode
@sbcode 3 жыл бұрын
sorry, I've never seen this problem. It may be a symptom of something else completely unrelated.
@capitainethug5550
@capitainethug5550 Жыл бұрын
same for me on cisco 3750g
@0605hector
@0605hector 2 жыл бұрын
Hi, at min: 4:52min , how did you add basic authentication to Prometheus web page?
@sbcode
@sbcode 2 жыл бұрын
sbcode.net/prometheus/prometheus-basic-auth/
@js8905
@js8905 3 жыл бұрын
Could it somehow be configured to see a Cisco switch attached to a computer with two NIC/networks? One NIC can ping the Prometheus server, and the second NIC has a Cisco with devices that cannot ping the Prometheus sever?
@sbcode
@sbcode 3 жыл бұрын
use different subnets
@js8905
@js8905 3 жыл бұрын
@@sbcode the switch I hope to monitor is on NIC2 of a server-B that has to be physically isolated from the main network on NIC1 of server-B that allows server-B to connect to grafana on server-A. Is there a exporter or method to get performance data from the switch on the NIC2 network to the grafana server on the NIC1 network? Thanks in advance for any help.
@sbcode
@sbcode 3 жыл бұрын
your problem sounds like network layer problems to solve. Use your cisco documentation to manage VLANs and ACLs. Prometheus/Grafana are application layer and can only access what the network allows. If you want to prevent access to Prometheus/Grafana from end users, you can use various IP blocking techniques such as firewall rules, iptables rules on server, use an Nginx reverse proxy with IP restrictions, and also add Basic Authentication to Prometheus using Nginx. Some of those techniques are discussed here. sbcode.net/prometheus/nginx-prometheus/
@Tibrus74
@Tibrus74 3 жыл бұрын
Dommage on ne sait pas comment installer la partie if_mib et le snmp_explorer pour permettre ensuite l'ajout de CI Cisco Voir ou ajouter la communauté snmp dans la conf pour correspondre a celle sur le Cisco
@sbcode
@sbcode 3 жыл бұрын
see sbcode.net/prometheus/snmp/ and the next pages in the series
@Tibrus74
@Tibrus74 3 жыл бұрын
@@sbcode Not easy, but that's work :)
@luanminh4870
@luanminh4870 3 жыл бұрын
Hi bro! How do we query SNMP from a Fortigate Firewall?
@sbcode
@sbcode 3 жыл бұрын
import a fortigate template. Or create your own after looking through all my SNMP tutorials. sbcode.net/zabbix/setup-snmp-host/
@luanminh4870
@luanminh4870 3 жыл бұрын
@@sbcode I am using promethues and grafana, non-zabbix
@sbcode
@sbcode 3 жыл бұрын
How you view SNMP in Grafana depends on which data source you are using. If you want to use Prometheus, then I have many videos on the Prometheus SNMP exporter staring at sbcode.net/prometheus/snmp/ I am not aware of a Fortigate module for the Prometheus SNMP exporter, but there probably is one on the internet somewhere. You could also create your own if you new which OIDs you wanted. My videos show you how to go about creating your own.
Adding Ethernet Ports with a Network Switch
12:17
ExplainingComputers
Рет қаралды 195 М.
Prometheus SNMP Exporter: Network Monitoring Tutorial!
21:11
Distro Domain
Рет қаралды 6 М.
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 15 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 10 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 26 МЛН
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 667 М.
Layer 2 vs Layer 3 Switches
6:02
PowerCert Animated Videos
Рет қаралды 791 М.
Prometheus SNMP_Exporter Tutorial
34:28
RandomAccessTutorials
Рет қаралды 39 М.
How to Connect to a Cisco Switch Using Putty (CCNA)
27:23
David Bombal
Рет қаралды 343 М.
Setting up Prometheus and Grafana for monitoring your servers
20:11
Eddie Zaneski
Рет қаралды 159 М.
Grafana : Loki LogQL
18:03
SBCODE
Рет қаралды 27 М.
Monitoring Your Internet Connection With Prometheus And Grafana
11:03
Tech Tutorials - David McKone
Рет қаралды 9 М.
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 15 МЛН