How SNMP Works - a quick guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey everybody welcome to this SNMP explainer in just a couple of minutes I'm gonna teach you enough about SNMP to be able to start monitoring devices while SNMP is a little complex there's a lot you don't need to know just to start monitoring so we're gonna focus on the absolute basics here and I promise I won't get you lost in unnecessary details how are we gonna do that well we're gonna talk about some basic background information we're gonna talk about two key terms you need to know we're gonna talk about why switches and routers are simple to monitor we're gonna talk about how SNMP works on a practical level and we're gonna talk about the different versions of SNMP are you ready let's get started SNMP stands for simple network management protocol it's been around since 1988 so it's pretty well used SNMP was developed to allow administrators to both monitor networking equipments current state and also remotely modify settings and configurations on the equipment while SNMP was initially developed for switchers and routers it has since been extended to a wide array of other devices such as Windows and Linux machines printers and uninterruptible power supplies among many many other things there are two key terms you need to know ID and mim o it is short for object identifier think of it like this anything and everything on a device that can't be monitored with SNMP has annoyed for example say I want to monitor the temperature on a network attached storage device we have here Nagios the oil for the temperature sensor on the device is a bunch of numbers separated by dots that number might look confusing but all you really have to know is each thing we can monitor like device temperature has annoyed you might think of annoyed as something similar to an IP address for a value we use an application like Nagios X I to ask the device what the value of any particular I'd have to be mint is short for management information base that sounds a lot more complicated than it actually is am it is a text file that allows us to translate numerical oils into bass toys so instead of using the numerical oi for the temperature sensor in our example we can use this word based oil which makes it a lot easier to understand what we're monitoring now technically you don't have to use MIBs at all you could always use only numerical hoids but MIBs can make your life a lot easier there are a number of standard Lloyd's and MIBs that are incorporated into most SNMP implementations by default for example on almost any system out there you should be able to ask the uptime of a device with the oeid cysts uptime zero this is great because when you go to do basic switch or router monitoring in Nagios x.i you don't need to know a single weight or find any mips because those are already built in you really only need to figure out ways and MIPS when you have a non-standard to monitor like the temperature sensor on a network attached storage device like we just talked about a minute ago how do you find out what the oeid are and where do you find MIPS the best place to start on both of those questions will be the product manuals from the manufacturer of the device many times these documents are available online and a simple search will get you the information you need so here is how SNMP gets used in day-to-day practice you have a network monitoring system like Nagios this is what monitors the things you want to monitor and then you have the things you want to monitor like switches and routers and servers and uninterruptible power supplies there are two ways to use SNMP the first way is called polling with polling the network monitoring system connects to the monitored device on port 161 and tells the device which ID it wants information on the device then responds with the information to the network monitoring systems port 161 in the second way we do what's called notifying with notifying the device simply sends a message about a noid to the network monitoring systems port 162 these messages are variously called either traps notifications or informs there are three versions of the SNMP protocol version 1 version 2c and version 3 the biggest difference for our purposes is that version 3 is more secure than versions 1 to see in two ways first four versions one and two see you don't even have to supply a username all you need is a special password called the community string version three gets rid of the community string and makes admins specify a username and a password second versions one and two C don't offer encryption but version 3 does keep in mind that SNMP can be used to change device settings so if an attacker were able to intercept and read your unencrypted v1 or v2 C SNMP packets the attacker could take control of the device you might find out there that SNMP version 2 C is still pretty commonly used why wouldn't everyone always use version 3 well quite simply for a number of reasons not all devices and operating systems support version 3 it is best practice however to use version 3 whenever possible you now know enough to be dangerous you know about Lloyd's and MIPS you know about the two ways to use that cmp to monitor that would be polling and traps you know switches and routers are easy to monitor and you know about SNMP versions you know enough to get out there and start monitoring with SNMP thanks for watching download Nagios exei from the link in the description below and you'll be monitoring in no time
Info
Channel: nagiosvideo
Views: 180,160
Rating: 4.9451413 out of 5
Keywords: monitoring, Network Monitoring, Monitoring tool, snmp, simple network management protocol, snmp traps, OID, MIB, polling, traps, switches, routers, SNMP versions, port 161, port 162, community string, education, tutorial, guide, instructions, how snmp works, how to use, learn snmp, nagios server, notifications, informs, devices, snmp explained, explainer, how to monitor snmp, introduction, what is snmp, protocol, snmp monitoring software, object identifier, NAS, storage, version 2c, ccna, operation
Id: 2IXP0TkwNJU
Channel Id: undefined
Length: 5min 49sec (349 seconds)
Published: Tue Apr 02 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.