> From: [email]net-snmp-users-bounces@lists.sourceforge.net[/email][color=blue]
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
> Behalf Of Ricardo Schmidt
> Sent: Wednesday, September 03, 2008 7:24 AM[/color]
[color=blue]
> Well, I'm developing a solution that needs to get the
> information about what protocols the device (machine) is able
> to run. I found in the Internet the
> CISCO-NBAR-PROTOCOL-DISCOVERY-MIB. Reading its description,
> it seems to do what I need. So, I downloaded a file .my from
> the following address:
> [url]http://www.mibsearch.com/vendors/cisco/mibview/CISCO-NBAR-PROT[/url]
> OCOL-DISCOVERY-MIB
>
> OK, the problem starts now.[/color]

And how!
[color=blue]
> I don't understand how to add this MIB to the SNMP system in
> order to access the information throughout it. First, I
> copied the .my file to the "net-snmp/agent/mibgroup"
> directory and to "net-snmp/mibs". I executed so many commands
> (following many tutorials) that I'm not able to tell you
> which ones I used :([/color]

It doesn't matter, really. You are getting confused sbout something fundamental, I think. There are two distinct things: a MIB, and the implementation of that MIB. The MIB describes the objects in the implementation. It is useful for helping humans understand what the implementation does, and helping computers interact with the implementation on behalf of humans. However, it is not very useful without an actual implementation. The MIB you have downloaded refers to implementations only available on certain Cisco devices - if you are not talking to one of those, then the MIB won't do you any good. To find out if your Cisco device supports this MIB, send a get-next request to the root object of the MIB. If the response is within the MIB's domain, then there is at least some support for the MIB. This assumes you have access to any implementation which may exist.

HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
[url]http://moblin-contest.org/redirect.php?banner_id=100&url=/[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]