Fwd: Re: mib2c

This is a discussion on Fwd: Re: mib2c within the SNMP Coders forums, part of the Networking and Network Related category; Followup to the earlier mail i modified the mib2c.conf files in the /usr/local/share/snmp/ directory and generated ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2006
amit limaye
 
Posts: n/a
Default Fwd: Re: mib2c

Followup to the earlier mail


i modified the mib2c.conf files in the /usr/local/share/snmp/ directory and
generated code using a template i wrote.
Hope this is the right way to do it

-SIGTERM
amit


--- Weitergeleitete Nachricht ---
Von: "amit limaye" <amitlimaye@gmx.co.uk>
An: Wes Hardaker <hardaker@users.sourceforge.net>
Kopie: net-snmp-coders@lists.sourceforge.net
Betreff: Re: mib2c
Datum: Tue, 7 Mar 2006 20:33:31 +0100 (MET)

wes i eventually got it work
my SMI had some line termination errors which was causing it not to find
some nodes thus throwing the errors
i set the debug level in snmp.conf and found out tht problem downloaded a
new set MIB and everything works now.

But now i m facing one more problem
I want to generate a list OIDs from the MIB in a C Header file format
some like
#define SysDescr ".1.2.3.4.9. "
and the likes
Is mib2c capable of this or am i using the wrong tool ?


-SIGTERM
amit

PS : I think i sent the reply only to wes so putting it back on the list

> --- Ursprüngliche Nachricht ---
> Von: Wes Hardaker <hardaker@users.sourceforge.net>
> An: "amit limaye" <amitlimaye@gmx.co.uk>
> Kopie: net-snmp-coders@lists.sourceforge.net
> Betreff: Re: mib2c
> Datum: Tue, 07 Mar 2006 10:51:57 -0800
>
> >>>>> On Fri, 24 Feb 2006 21:21:13 +0100 (MET), "amit limaye"

> <amitlimaye@gmx.co.uk> said:
>
> amit> [root@dragon-fly mibs]# echo $MIBS
> amit> HCNUM-TC
>
> amit> i have exported the MIBS variable
>
> I'm not sure exactly why you're running into that error. It appears
> >from a really high-level view that what you're doing is right.

>
> I assume the HCNUM-TC mib is installed into a search-able path...
>
> You might try setting MIBS to +HCNUM-TC instead, though it should work
> either way.
>
> --
> Wes Hardaker
> Sparta, Inc.
>


--
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net

--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 02:13 AM.


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