Re: mib2c problems

This is a discussion on Re: mib2c problems within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 16 Feb 2005 13:36:39 -0500 Michael wrote: MPS> > Get snmptranslate working w/out -m ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Robert Story
 
Posts: n/a
Default Re: mib2c problems

On Wed, 16 Feb 2005 13:36:39 -0500 Michael wrote:
MPS> > Get snmptranslate working w/out -m first. Try 'export MIBS=ALL', then
MPS> > move on to mib2c.
MPS>
MPS> At the moment I can't even seem to get mib2c working on the tutorial mib.
MPS>
MPS> ]$ MIBDIRS=. MIBS=+NET-SNMP-TUTORIAL-MIB mib2c -c mib2c.mfd.conf

I've never had much luck with putting env vars before a command line. Try
exporting them. Also try using full paths:

export MIBDIRS=/usr/local/share/snmp/mibs:$PWD
export MIBS=+NET-SNMP-TUTORIAL-MIB
mib2c ...

Or my favorite method, create $HOME/.snmp/snmp.conf:

mibs ALL
mibdirs /usr/local/share/snmp/mibs
mibdirs +/home/rks/.snmp/ietf-updates

(Thought the '+' format only works in recent versions. Older versions should
use the path style format; eg dir1:dir2)

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 04:03 PM.


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