About Configuration Manager Status Messages
In Configuration Manager, status messages are the universal means for components to communicate information about their health to the Configuration Manager administrator. Status messages are similar to Windows NT Events; they have a severity, ID, description, and so on.
The Configuration Manager Status System is a fully-distributed, enterprise-wide aggregation and summarization system for status messages. Status messages flow from components to the Configuration Manager site servers and up the Configuration Manager site hierarchy.
The administrator configures how Configuration Manager processes the status messages at each site server in the hierarchy. This processing can include storing the status messages in a SQL Server database, replicating the messages to the parent Configuration Manager site, reporting the messages as Windows Events on the site server, and exporting the messages to another eventing or alerting application.
Certain kinds of status messages are automatically processed by Summarizer components that are running on the site servers. The Summarizers produce high-level data about the raw flows of status messages. Administrators monitor this data in the Configuration Manager console.
Status messages are similar to Windows events; they have a severity, ID, and description. They also support message insertion strings and named attribute values. This allows user-defined messages to be reported through the site.
Types of Status Messages
Predefined Status Messages
Each Configuration Manager component has a set of predefined status messages assigned to it. It's important that the context in which an application reports a predefined status message matches exactly the purpose of the Configuration Manager component status message. Otherwise, the integrity of the site might be affected by Configuration Manager misinterpreting the meaning of the status message. For more information, see About Configuration Manager Component Status Messages.
User-defined Generic Status Messages
Configuration Manager provides three types of user-defined generic status messages.
Along with the message type, insertion strings and attributes can be supplied. The text that is provided as the insertion string, when creating the status message, is the text seen in the user interface. This makes using generic messages simple, but it doesn't allow for localization. For more information, see How to Read User-Defined Status Messages.
Creating Status Messages on the Client
You can create events on client computers in the following ways:
SMSEvent Class is a COM automation class that you use to raise user-defined status messages on a client. As a COM Automation object, it can readily be used by VBScript. For more information, see SMSEvent Class.
SMSCSTAT.DLL is a Win32 dynamic link library that is available on clients. It has been installed on Configuration Manager clients since SMS 2.0 Service Pack 1. It can't be easily be used by VBScript. For more information, see About Using SMSCSTAT.DLL to Create Status Messages.
Management Point Interface
Using the management point interfaces, you can raise status messages that are defined by XML from client computers. The management point interfaces can't be used by VBScript. Using the management point interface is recommended for raising status messages on client computers that aren't running a Windows operating system.
Creating Status Messages on the Site Server
You raise events on the server by creating instances of
SMS_StatusMessage. For more information, see How to Report User-Defined Status Messages.