9
votes
net-snmp Creating my own MIB: No Such Instance currently exists at this OID
I think your issue is coming from a simple misconception of how SNMP data (OIDs) is structured, and how snmpwalk, snmpget, and snmpgetnext interact with it.
SNMP organizes the OIDs into related ...
9
votes
Accepted
What exact does MIB represent in SNMP? How is it different from OID?
The MIB is the entire catalog of OIDs (for a particular device).
An OID is a specific reference to an individual item within the MIB.
An analogy: The MIB is like the phone book for my city. The OID ...
6
votes
Accepted
Juniper EX4200 How to read SNMP traffic counters for specific VLAN id from trunk interface?
Sadly the EX4200 (or any EX) is not able to do this. You would need a separate logical unit for the VLAN which has its own VLAN counters. This works for example on Junipers MX routers but not on EX.
...
6
votes
Accepted
Is there a test/example/dummy SNMP trap OID?
As jonathanjo said in his answer and the comments afterwards, there are no special test traps for testing connectivity. Often, one of the RFC-defined traps (like linkup, linkdown or warmstart) is used....
6
votes
Accepted
SNMP object not in the MIB
is it possible to add support for an OID that is not there by default?
Unfortunately, adding support for these OIDs would require each of your vendors (Brocade and Dell) to implement them in their ...
6
votes
Accepted
Why can't get host's mac address on l2 switch through snmp? But can get it on l3 router
A layer-2 switch does not look at the layer-3 IP address on a packet to switch the layer-2 frames, and it only uses the MAC addresses on the frames for switching. The layer-3 interface on the switch ...
5
votes
Accepted
LAN side 1Gb link showing WAN 4Mbps throughput in SNMP
So why isn't the bandwidth capture reflect at port1 on the LAN side showing more then 4Mbps ?
Because your traffic is mostly TCP, and TCP will slow down as the ISP drops traffic (due to the cap). So ...
5
votes
Decreasing SNMP update timer on IOS-XR (CISCO ASR)
For short interval polling it would be better to use streaming telemetry. The router will send a continuous stream for metrics of your choice, which is not as intensive for your monitoring system and ...
5
votes
Accepted
Unable to see packet drops on tunnels
The bandwidth command is simply a label for things like routing protocols and QoS. It does not change the bandwidth on the interface.
If you want it to drop packets above 10 Mbps, you can create a ...
5
votes
IfInDiscards and IfOutDiscards counters
As RFC2863 / IF-MIB describes:
The number of inbound/outbound packets which were chosen
to be discarded even though no errors had been detected to prevent
their being deliverable to a higher-layer ...
5
votes
Accepted
what are the difficulties of configuring switches through SNMP?
Questions that generate mostly opinion-based answers are off limits here, so we can’t really talk about why someone should or shouldn’t do something like this.
As far as purely technical points go, if ...
4
votes
Accepted
IPMI and SNMP - Concept like location and functionality
If you read your IPMI article carefully, you will see that IPMI is primarily used for PCs and servers, and it is a specification for out-of-band management of a system. IPMI also requires specialized ...
4
votes
SNMP Monitoring Juniper EX8216 switches for Rx/Tx power, temperature and bias current
Unfortunately the DOM MIB does not seem to be supported on any of the EX 22/32/42/82xx switches. I've been bitten by this in the past.
The values are present on the device eg: show interfaces ...
4
votes
Converting IPv6 to Dotted Decimal Notation
Take a look at https://pypi.python.org/pypi/IPy/. It allows you to automatically parse the (many formats of the) IPv6 address and return various formats you can use to format.
4
votes
Accepted
How to recognize port type of cisco switch via SNMP?
You can get this information from the ifMauType which returns a value from this list
This is defined in the MAU-MIB from RFC4836
4
votes
Is there a test/example/dummy SNMP trap OID?
I believe it's customary to set up a loopback interface and then shutdown and no shutdown it.
At least some devices support a specific command to send a trap to test things, but I don't believe ...
4
votes
Network Bandwidth Utilization with SNMP
RFC2863 defines IF-MIB and has a clear explanation on what ifInOctets and ifSpeed (paragraph 3.1.7) is:
ifInOctets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS ...
4
votes
Accepted
How can I monitor BFD flaps?
A trap should be the right approach to 'instantly' notify Zabbix of the problem. Polling is fine for statistics and overall monitoring but problems should be 'trapped'.
You'll need to set up Zabbix's ...
3
votes
Accepted
Does snmp have a standard MIB for crc errors or is it HW dependent?
It exists in the EtherLike-MIB (dot3statsFCSErrors), but just because a MIB exists doesn't mean a vendor supports it. Most vendors have a custom MIB that supports CRC/FCS errors and it shouldn't be ...
3
votes
SNMP configuration on a Cisco switch
Cisco has all sorts of guides to configuring SNMP. For instance: Configuring SNMP. It is possible that some switches or IOS versions will vary. There are also some decision to be made, such as SNMP ...
3
votes
Accepted
What physical port does a SNMP trap/inform go out on?
Just like any host, if the server is on the same network as the
switch management interface, it gets switched to the correct port
based on the MAC address of the destination, otherwise it gets sent
to ...
3
votes
Accepted
How to receive snmp v3 traps without specific enginedID?
You cannot be authenticated as user for receiving traps if you don't specify the engineID.
See http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications
3
votes
Accepted
Cisco MIB Locator
The feature you are looking for is on the same page you already have provided. On the bottom of the page there is a large box with the title Search for MIB. You can select your MIB in question there ...
3
votes
Accepted
return physical port speed of Cisco switch over SNMP
So I've just tried this on an older 3750 (12.2(52)SE) and here's what I get - given the following configuration:
interface FastEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk ...
3
votes
SNMP protocol MIBs & OIDs
A device (or its SNMP Agent to be precise) can contain whatever objects it likes. Since many (networked) devices often share common objects (for instance related to the Ethernet interface) they make ...
3
votes
Accepted
SNMP OID to detect network equipment vendor
No, there's not a single OID tree to describe the equipment. There is a vendor-specific tree, and each vendor implements their own MIB tree under that. Whether or not any particular vendor bothers (...
3
votes
Accepted
Search for IP addresses in SNMP data field using Wireshark
Honestly, this solution isn't ideal because the tool you're using isn't ideal. I get that this is something you're just exploring and trying to understand, I would simply advise against using it as a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
snmp × 207cisco × 74
switch × 28
cisco-ios × 20
monitoring × 18
router × 15
management × 13
cisco-catalyst × 11
vlan × 8
mac-address × 7
bandwidth × 7
linux × 7
network × 6
networking × 6
snmpv3 × 6
qos × 5
cisco-commands × 5
ethernet × 4
wireless × 4
juniper × 4
switching × 4
juniper-junos × 4
dell × 4
cisco-ios-xr × 4
nms × 4