[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mibble-users] about generating value file
From: |
achraf.mabrouk |
Subject: |
Re: [Mibble-users] about generating value file |
Date: |
Fri, 20 Jul 2007 11:11:39 +0200 (CEST) |
Hi;
Thank you for your cooperation ;
Let me explain more my need :
I need to generate a simulation file (.i.e OID.<instance>.<value>) for each
OID in the MIB given as parameter.
This simulation file is needed to build an SNMP Agent.
My question is :
is it possible using Mibble to generate this type of file like this :
1 - Parse a MIB given as parameter
2 - for each OID in this MIB, get his type (integer, string, IP, ...etc.)
3 - generate specific OID.<instance>.<Random Value>
-*- Regards
Achraf Mabrouk
> Message du 20/07/07 à 09h39
> De : "Per Cederberg" <address@hidden>
> A : "Announcements, support, and forum for Mibble users" <address@hidden>
> Copie à :
> Objet : Re: [Mibble-users] about generating value file
>
> I'm not sure I understand exactly what you mean. If your
> problem is accessing data from SNMP tables, these OIDs
> cannot be generated in all cases. First, we don't know
> the length of the table. And secondly, the table indices
> are sometimes not just simple positional integers, but
> more complex data structures (like IP addresses or
> similar).
>
> For these reasons, the MibbleBrowser uses GET NEXT when
> stepping through a MIB with an SNMP device. By using
> this you can find the actual number of rows in a table
> and all the data in it. Also, you'll be able to see the
> OID structure for the particular cases you are
> interested in.
>
> Cheers,
>
> /Per
>
> achraf.mabrouk wrote:
> > Hi all,
> >
> > I have a MIBs (IF-MIB, SNMP-V2 ,RFC12-13) I want generate for each OID a
> > set of OID.<instance>.<value> by respecting the syntax for each OID.
> >
> > exp:
> > (ifIndex).<instance>.<value>
> > 1.3.6.1.2.1.2.2.1.1.2001.2001
> > 1.3.6.1.2.1.2.2.1.1.2002.2002
> > 1.3.6.1.2.1.2.2.1.1.2003.2003
> >
> > -*- Thanks for your cooperation
> > Achraf Mabrouk
> >
> >
> >
> >
> > _______________________________________________
> > Mibble-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/mibble-users
> >
> >
>
>
> _______________________________________________
> Mibble-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/mibble-users
>
>