Thanks Dave,

I have two mibs as below and I want to merge them into a single MIB. 

ABC-MIB :=
=============================================
                .....
                .....

        abc     OBJECT IDENTIFIER
                ::=  {  application  1  }
        
        noOfMessages    OBJECT-TYPE     
                
                SYNTAX  INTEGER
                MAX-ACCESS      read-write
                STATUS          current
                DESCRIPTION     "Number of Messages Transfred." "
                ::=  {  abc 1 }


XYZ-MIB :=
=============================================
                .....
                .....

        xyz     OBJECT IDENTIFIER
                ::=  {  application  1  }
        
        noOfMessages    OBJECT-TYPE     
                
                SYNTAX  INTEGER
                MAX-ACCESS      read-write
                STATUS          current
                DESCRIPTION     "Number of Messages Transfred." "
                ::=  {  xyz 2 }


Is there a way to define a leaf node (which is noOfMessages) with more than
one "OBJECT IDENTIFIER" in a single MIB file.
Example:

        abc     OBJECT IDENTIFIER
                ::=  {  application  1  }

        xyz     OBJECT IDENTIFIER
                ::=  {  application  2  }

        noOfMessages    OBJECT-TYPE     
                
                SYNTAX  INTEGER
                MAX-ACCESS      read-write
                STATUS          current
                DESCRIPTION     "Number of Messages Transfred." "
                ::=  {  abc 1, xyz 2  }

But it is now working...

Please advise ......

regards
Prakash


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to