Re: Problem/Issue importing MIB net-snmp

This is a discussion on Re: Problem/Issue importing MIB net-snmp within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 2006-02-01 at 11:50 -0500, Brazell, Nate (CTR) wrote: > 1. Is net-snmp able to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2006
Dave Shield
 
Posts: n/a
Default Re: Problem/Issue importing MIB net-snmp

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=...486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0