SNMP Collections

An SNMP collection maps to a CIM class and the elements of a collection map to the properties of a CIM class. All generated CIM class definitions must be derived from the SnmpObjectType class.

Note  For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

The following class definitions parent all generated class definitions:

[abstract]
class SnmpMacro
{
};

[abstract]
class SnmpObjectType:SnmpMacro
{
};

Remarks

The following rules apply when mapping SNMP collections to CIM classes. Unless otherwise specified, these rules apply to both scalar and table collections:

  • The mapping process generates CIM class names by concatenating "SNMP_", the MIB module identity name, "_", and the collection's object descriptor.

    For example: system translates to SNMP_RFC1213_MIB_system, while ifTable translates to SNMP_RFC1213_MIB_ifTable.

  • In all cases, hyphens (-) in SNMP MIB identifiers map to underscores (_) in CIM class names.
  • Naming conflicts can occur due to CIM name case-insensitivity. If a naming conflict occurs, the provider chooses one of the conflicting group definitions and ignores the remaining definitions.
  • The identity name of the MIB module that contains the collection maps to the CIM class qualifier Module_Name.
  • The object identifier of the fabricated collection maps to the CIM class qualifier Group_Objectid.
  • The MIB module imports list (obtained from the MODULE-IDENTITY macro definition) maps to the CIM class qualifier module_imports. This qualifier contains a comma-separated list of module names.

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags :


Page view tracker