2009/2/2 Dey, Rajnish <[email protected]>: > Could you please let me know. > 1. When should I use an Object Identifier or Object Identity?
Define an object using OBJECT IDENTITY when there is some management information associated with that object. I.e. all "leaf-node" management objects. Define an object using OBJECT IDENTIFIER when there is no management information associated with that object. There are two basic situations where this occurs: a) For internal infrastructure nodes (e.g. 'mib-2' in the standard MIB, or 'memory' in the UCD-SNMP-MIB) b) For "enumeration value" objects (e.g. UCD-SNMP-MIB::hpux9, etc) > 2. Is it possible one OID with 2 names? Short answer: no Longer answer: Sometimes yes, but this tends to be a bad idea See RFC 2578 or a dedicated book (like "Understanding MIBs") for more details. What exactly are you trying to do? Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
