Registering the SNMP Providers

[This is preliminary documentation and subject to change.]

The SNMP providers must be registered in the CIM Object Manager (CIMOM) database. This is done by creating an instance of the class __Win32Provider for the provider in each namespace associated with that provider.

The instance provider is mandatory. The class provider is optional. Users can create their own static classes instead of, or in addition to, using the dynamic class provider.

To register the instance provider, create the following Managed Object Format (MOF) file and submit it to the MOF compiler:

instance of __Win32Provider
{
    MethodSet=331793;
    Provider="MS_SNMP_INSTANCE_PROVIDER";
    ProviderClsId="{D45BD3C1-EF23-11cf-8CBC-00AA00A4086C}";
};
 

To register the class provider, create the following MOF file and submit it to the MOF compiler:

instance of __Win32Provider
{
    MethodSet=332817;
    Provider="MS_SNMP_CLASS_PROVIDER";
    ProviderClsId="{3296BF00-A1FC-11cf-8C8B-00AA00A4086C}";
};
 

Alternatively, you can use the CIM Studio to create the instances, and to generate and compile the MOF file. See the WBEM SDK Applications Guide for instructions.