Re: MIB for my NIC cards



On Apr 29, 4:18 pm, "h.stroph" <m...@xxxxxxxxxxx> wrote:
"Damon Getsman" <dgets...@xxxxxxxxxxxx> wrote in message

news:b43e726a-9b77-40ac-802f-00e6982b4556@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I've currently been trying to locate them by hardware vendor, I guess
that might not be the right path to be taking... Perhaps I should be
looking in subtrees of the associated device? (ie eth0, eth1)

If anybody knows where I might be able to look for this information I
would definitely appreciate it. :)

"man snmpwalk" might be helpful to you.

I was totally on the wrong track, as far as I can tell, with that
last .1.3.6.1.2.1.2.2.1.2 lead that I was going on.

I started looking closer to home, thinking that I'd dug through too
many conversations indexed by google in my research on this and maybe
gotten pulled a bit off track. Sure enough, I finally found what I
was looking for in some of the data available under <net-snmp/mib-
share>/IF-MIB.txt. I shouldn't have been looking for a particular
piece of hardware's attribute, I needed to look under the interface
itself. Maybe that information is available under a hardware specific
MIB as well, but this was much easier to find.

The information that I need to poll is definitely in that MIB. I just
need to figure out how to specify which interface I'm working on,
first, and then under the IfEntry sequence there are the stats I need:
ifInDiscards (13), ifInErrors (14), ifOutDiscards (19), ifOutErrors
(20), ifOutQLen (21).

SO I should just have to figure out what the full name for this MIB is
and do snmptranslate on that to convert it to a numeric OID. After I
have such, I make this available to the group that I am polling under
in snmpd.conf, and I'll have access to my data.

snmpwalk will help me a lot, I'm sure, once I know how to construct
the full string to feed to snmptranslate. I don't have a clue where
to find that just yet, only that what I need is in IF-MIB. :P

-Damon
.



Relevant Pages

  • Re: MIB for my NIC cards
    ... "man snmpwalk" might be helpful to you. ... I needed to look under the interface ... The information that I need to poll is definitely in that MIB. ... and do snmptranslate on that to convert it to a numeric OID. ...
    (comp.os.linux.networking)
  • Re: How Can the Corruption of Our Government by the Republican Party Be this Deep? (It seems never&#
    ... This memo defines a portion of the Management Information Base (MIB) ... This memo obsoletes RFC 2665. ... or new documents might be issued by the Ethernet Interfaces and Hub ... Instances of these object types represent attributes of an interface ...
    (sci.military.naval)
  • Re: Whats NOT IN SCS?
    ... This memo defines a portion of the Management Information Base (MIB) ... This memo obsoletes RFC 2665. ... or new documents might be issued by the Ethernet Interfaces and Hub ... Instances of these object types represent attributes of an interface ...
    (sci.military.naval)
  • Re: Which is the OID for the error CRC on interface router cisco
    ... sorry I forget the exact number, "interface" mib for that. ... Serial0/0 is up, line protocol is up ... 30 second input rate 207000 bits/sec, 49 packets/sec ...
    (comp.dcom.sys.cisco)
  • Re: Which is the OID for the error CRC on interface router cisco
    ... sorry I forget the exact number, "interface" mib for that. ... 30 second input rate 207000 bits/sec, 49 packets/sec ... The snmp counters cannot be cleared.- Ocultar texto de la cita - ...
    (comp.dcom.sys.cisco)