You can raise Configuration Manager 2007 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 Configuration Manager 2007 status message that is raised by the Configuration Manager 2007 client can be caught by the Operations Manager agent on the same computer, which in turn raises an Operations Manager alert for the Configuration Manager 2007 status message.
The following example MOF file shows how to raise Configuration Manager 2007 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
Send comments about this topic to Microsoft.