You can raise System Center 2012 Configuration Manager client status messages in the Windows event log by using a compiled Managed Object Format (MOF) file on client computers. This can be useful for administrators who are managing servers with System Center Operations Manager. A System Center 2012 Configuration Manager status message that is raised by the System Center 2012 Configuration Manager client can be caught by the Operations Manager agent on the same computer, which in turn raises an Operations Manager alert for the System Center 2012 Configuration Manager status message.

The following example MOF file shows how to raise System Center 2012 Configuration Manager program status messages:

  Copy Code
#pragma namespace("\\\\.\\root\\ccm\\policy\\machine\\requestedconfig")
instance of CCM_EventForwarder_Configuration
	InstanceID = "SmsSoftwareDistribution.EventLog";
	Name = "SmsEventLogForwarder";
	PolicyID = "SomePolicyID";
	PolicyInstanceID = "SomePolicyInstance";
	PolicyRuleID = "SomeRuleID";
	PolicySource = "Local";
	PolicyVersion = "1";
		QueryList		 = {
							"SELECT * FROM SoftDistProgramStartedEvent",
							"SELECT * FROM SoftDistProgramCompletedSuccessfullyEvent",
							"SELECT * FROM SoftDistProgramCompletedSuccessfulMIFEvent",
							"SELECT * FROM SoftDistProgramErrorEvent",
							"SELECT * FROM SoftDistProgramErrorMIFEvent",
							"SELECT * FROM SoftDistProgramExceededTime",
							"SELECT * FROM SoftDistProgramPrelimSuccessEvent",
							"SELECT * FROM SoftDistProgramUnexpectedRebootEvent",
							"SELECT * FROM SoftDistWarningProgramErrorEvent"

See Also