Ad Widget

Collapse

Confused about SNMPWalk, MIB and OID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MuriloHB
    Junior Member
    • Feb 2019
    • 29

    #1

    Confused about SNMPWalk, MIB and OID

    Hi guys,

    So i'm having some trouble learning how to do snmpwalks properly and how to interpret the results that are shown.
    I've been using Zabbix SNMP to monitor the devices on my lab and until now the Templates available for use solved all my problems and gave me the information that I needed.

    But now i'm trying to monitor a switch that we have on the lab (PowerConnect 6248) and I didn't find any templates that meet my expectations so I believe this is a great opportunity to learn how to manually find the information I need and create my own template.
    So I've installed NET-SNMP on Zabbix and now I can retrieve information with snmpwalk. The issue is that I don't know what the majority of the information I get means, and how to filter it. For example, in the switch case, when I execute the snmpwalk I get a lot of information like:

    Code:
    IF-MIB::ifOutOctets.3 = Counter32: 0
    IF-MIB::ipInDelivers.0 = Counter32: 1985609
    SNMPv2-SMI::mib-2.3.1.1.3.683.1.10.100.107.203 = IpAddres: 10.100.107.147
    IP-MIB::ipNetToMediaType.674.10.100.100.1 = INTEGER: dynamic(3)
    SNMPV2-SMI::mib-2.16.1.1.1.5.4 = Counter32: 4661477
    And the output goes on for 17856 lines total.

    Now let's say that I want to get the information about the temperature of the switch: in this case I need to know the OID code, right? So I can create a template's item and fill the SNMP OID field with the information necessary.

    I don't know if there is an easier way to discover the information about the device and organize it, because I didn't quite understand the creation of Discovery Rules (when I go to the discovery rule section of a Zabbix Template it is necessary to fill the SNMP OID field so how am I suppose to create a discovery rule without knowing the OID?)

    Thanks for the support guys, any ideas will be of great help!
Working...