Re: Adding new OIDs in existing MIB files
"Aileen Han" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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