Re: Adding new OIDs in existing MIB files

"Syed Mujtaba Ahmed Razvi" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks!
   I am working on SNMP in windows xp. After i have created the mib, do i 
need to compile it using some tool or not like mibcc.exe etc ? How the new 
mib file created will get integrated with the old existing mib?

I have an existing MIB with tree like
+ iso
   + org
     + dod
       + internet
          + directory  (its empty)
          + mgmt
          + experimental
          + private
          + security   (its empty)
          + snmpV2

Now can i add into it in internet, my own "myPro"
          + myPro


Waiting for ur replies!

Regards,
Mujtaba


>From: "Aileen Han" <[email protected]>
>To: "Syed Mujtaba Ahmed Razvi" <[email protected]>
>CC: [email protected]
>Subject: Re: Adding new OIDs in existing MIB files
>Date: Fri, 15 Jun 2007 23:56:17 +0800
>
>Yes. You can create your own mib file and define the oids.  You need to 
>know
>where your oids will be located..
>
>for example, if your oid is under the enterprise subtree. You mib file(
>Your-MIB.txt) will be like as follows
>
>=======================================================
>Your-MIB DEFINITIONS ::= BEGIN
>
>IMPORTS
>            OBJECT-TYPE                          FROM RFC-1212
>            enterprises                          FROM RFC1155-SMI
>
>            your-company         OBJECT IDENTIFIER ::=   { enterprises 2 }
>
>            then define your own mib
>END
>========================================================
>
>You can refer the RFC for the SMI and SMI-II syntax. Hope the above will be
>helpful to you.
>
>On 6/15/07, Syed Mujtaba Ahmed Razvi <[email protected]> wrote:
>>
>>Hello,
>>   I need to add new OID values in an existing MIB file. I am looking to
>>have my own customized MIB file to which i can save and query self defined
>>values. Can i make a new MIB file? What is the format of a new MIB file?
>>
>>Thanks
>>Mujtaba
>>
>>_________________________________________________________________
>>FREE pop-up blocking with the new MSN Toolbar - get it now!
>>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>>
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by DB2 Express
>>Download DB2 Express C - the FREE version of DB2 express and take
>>control of your XML. No limits. Just data. Click to get it now.
>>http://sourceforge.net/powerbar/db2/
>>_______________________________________________
>>Net-snmp-users mailing list
>>[email protected]
>>Please see the following page to unsubscribe or change other options:
>>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>>


>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/


>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users

_________________________________________________________________
Don’t miss your chance to WIN $10,000 and other great prizes from Microsoft 
Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.