Insights SCCM Compmon.log Errors

SCCM Compmon.log Errors

I was recently doing a health check on a SCCM 2012 R2 Primary Site Server before it was released to production and found the following errors in the Compmon.log.

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/6/2014 3:01:18 PM 5652 (0x1614)

I did not observe any issues with SCCM functionality, but I still wanted to find the cause of these errors before the server was released to production and had the potential to cause an outage for my customer.  A quick search indicated a site reset may resolve the issue, but it was not the solution.

I then tried restarting the SMS_COMPONENT_MONITOR through Configuration Manager Service Manager and found the following information in the log when the component starts.

Starting SMS_Component_Monitor from Configuration Manager Service Monitor
************ SERVICE THREAD IS STARTING ************ SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_AD_FOREST_DISCOVERY_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_AI_KB_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_ALERT_NOTIFICATION’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_AMT_PROXY_COMPONENT’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_CERTIFICATE_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_CLIENT_CONFIG_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_CLIENT_HEALTH’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_CLOUD_SERVICES_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_COLLECTION_EVALUATOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_COMPONENT_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_COMPONENT_STATUS_SUMMARIZER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_DATABASE_NOTIFICATION_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_DESPOOLER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_DISCOVERY_DATA_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_DISTRIBUTION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_ENDPOINT_PROTECTION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_EN_ADSERVICE_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_EXECUTIVE’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_HIERARCHY_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_INBOX_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_INBOX_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_INVENTORY_DATA_LOADER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_INVENTORY_PROCESSOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_LAN_SENDER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_LICENSE_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_MIGRATION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_MP_CONTROL_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_MP_FILE_DISPATCH_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_NETWORK_DISCOVERY’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_NOTIFICATION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_NOTIFICATION_SERVER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_OBJECT_REPLICATION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_OFFER_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_OFFER_STATUS_SUMMARIZER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_OFFLINE_SERVICING_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_OUTBOX_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_PACKAGE_TRANSFER_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_POLICY_PROVIDER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read the required Operations Management component registry key values on local computer; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Failed to read in current property values and initialize COpsMgmtComponent object; error = 6 (0x6). SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_REPLICATION_CONFIGURATION_MONITOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_REPLICATION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_RULE_ENGINE’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SCHEDULER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SITE_BACKUP’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SITE_COMPONENT_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SITE_CONTROL_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SITE_SYSTEM_STATUS_SUMMARIZER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SITE_VSS_WRITER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SOFTWARE_INVENTORY_PROCESSOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_SOFTWARE_METERING_PROCESSOR’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_STATE_SYSTEM’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_STATUS_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_WINNT_SERVER_DISCOVERY_AGENT’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_WSUS_CONFIGURATION_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_WSUS_CONTROL_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘SMS_WSUS_SYNC_MANAGER’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Added component ‘Windows_Intune_Service’ to the Monitored Component List. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Polling interval during component initialization is 5 seconds. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

Waiting until the next polling cycle in 0 seconds from now. SMS_COMPONENT_MONITOR 8/7/2014 11:03:00 AM 5692 (0x163C)

What I found was that you can see the name of the component when it is successfully loaded, but you just get the general errors when it fails.  I compared this log to the log from my lab server and found that the errors occurred when SMS_AD_SYSTEM_DISCOVERY_AGENT, SMS_AWEBSVC_CONTROL_MANAGER, and SMS_PORTALWEB_CONTROL_MANAGER should have been loaded.

On this server, System Discovery was disabled until the production release and the Application Catalog roles had been moved to another server, but the Component Monitor was still trying to monitor them.  After working with Microsoft, I found that when discoveries are disabled and some roles are uninstalled, there are registry keys left behind, which is the root cause of these errors.

The current work-around for this issue is to manually remove the related keys from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Operations Management\Components on the affected server after disabling a discovery or removing a role.  I highly recommend you backup this key prior to making any changes.

Microsoft has accepted this issue as a bug in SCCM, but since it does not cause a production outage, I expect it is low on the priority scale.  If there is a hotfix or patch released in the future to resolve this issue, I will updated this post with the link.