Re: Problem/Issue importing MIB net-snmp

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2006-02-01 at 11:50 -0500, Brazell, Nate (CTR) wrote:

> 1.  Is net-snmp able to use the FIBRE-CHANNEL-FE-MIB
>     or the FCMGMT-MIB?

What do you mean by "use" ?

If you've got an agent that you know implements these
MIBs, then the Net-SNMP tools should be able to recognise
the MIB object names, and retrieve the appropriate values
with no real changes.

If you want the Net-SNMP agent to *report* these values,
then this involves a significant amount of work.



> 3.  I've read several posts of web sites where you can download
>     new MIBS and install them but does it always require a rebuild
>     of the net-snmp suite or custom code writing?

If you already have a suitable agent, then no.
If you need to *extend* the agent to support this new MIB, then yes.



> I then use the snmptranslate -m +FIBRE-CHANNEL-FE-MIB -IR fcFxPortName
> This returns:
>       FIBRE-CHANNEL-FE-MIB::fcFxPortName 

> (Not a OID as the FAQ for adding MIBS suggests) Is this correct?

The default output format has changed since the FAQ was written.
Try
    snmptranslate -m +FIBRE-CHANNEL-FE-MIB -IR -On fcFxPortName
or
    snmptranslate -m +FIBRE-CHANNEL-FE-MIB -IR -Of fcFxPortName

That should work OK.


> Also snmpwalk -v2c -c readonlystringhere -localhost fcFxPortName
> Returns
> 
>      FIBRE-CHANNEL-FE-MIB::fcFxPortName = No Such Object

Because the agent does not implement this object.
You'll need to write code for that.



Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.