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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|