Re: Unsuccessfully Running mib2c

This is a discussion on Re: Unsuccessfully Running mib2c within the SNMP Users forums, part of the Networking and Network Related category; On Fri, 2005-11-18 at 16:15 -0800, Jason Merman wrote: > Although it was not clear, I assume ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-21-2005
Dave Shield
 
Posts: n/a
Default Re: Unsuccessfully Running mib2c

On Fri, 2005-11-18 at 16:15 -0800, Jason Merman wrote:
> Although it was not clear, I assume my next step is to run mib2c. I
> ran the following and receive the following error saying that I did
> not specify a valid OID to start with. Can you please verify that I
> ran the correct command.


> bash-2.05# env MIBS="+VRTS-SNMP-MIB" perl /opt/csw/bin/mib2c


The 'mib2c' script expects to be given the name of a particular
MIB *object*, marking the root of the tree to generate code for.
It doesn't automatically start with the root of the MIB module.

Try somthing like

perl /opt/csw/bin/mib2c VRTS-SNMP-MIB::veritas


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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:43 AM.


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