Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Message Queries

2/12/2014 3:00:35 AM
You already know how to effectively use the Status Message Viewer to customize status messages and troubleshoot components and site systems. The Status Message Viewer displays messages on a per-component or per-system basis. Sometimes, however, you might need to see all messages of a specific type generated across all the site systems or from several components.

The SMS development team, being one step ahead of the rest of us in this thinking, created status message queries as a means of accomplishing just that. In fact, there are currently 70 existing default queries that might well satisfy most of your message viewing needs. These queries are listed in the Status Message Queries window, shown in Figure 1. In the SMS Administrator Console, navigate to the System Status node and expand it, then select he Status Message Queries node to display this window. For example, the query highlighted in Figure 1 will generate a list of all SMS clients on which the Hardware Inventory Agent reported some problem when trying to generate the Management Information Format (MIF) file needed to report the client’s hardware information to the site database. Running a query of this type is certainly easier than scanning for the error status message for every client reporting messages to the Component Status Summarizer.

Figure 1. The Status Message Queries window.

Most of these default queries are prompted—meaning that you must provide information such as a site code, the server name, and so on. To execute a status message query, right-click the query in the Status Message Queries window and choose Show Messages from the context window. Any values that need to be resolved are listed, and you must enter the information or values requested.

You can also create your own status message queries. To do so, follow these steps:

1.
Right-click Status Message Queries, choose New from the context menu, and choose Status Message Query to display the Status Message Query Properties dialog box, as shown in Figure 2.

Figure 2. The Status Message Query Properties dialog box.


2.
Enter a descriptive name for your query and a comment that further explains the query’s purpose.

3.
Click the Import Query Statement button to display the Browse Query dialog box that lists all the available status message queries, as shown in Figure 3. Select the query you would like to import into your new query and click OK.

Figure 3. The Browse Query dialog box.


4.
Click the Edit Query Statement button to display the Query Statement Properties dialog box. In this dialog box, you can modify the properties of the query you imported in step 3. If you did not import an existing query, then here you can create your own new query.

By default, a status message query displays only status messages in its results list; thus all the options in the General tab are unavailable, as shown in Figure 4.

Figure 4. The General Tab of the Query Statement Properties dialog box.


5.
Select the Criteria tab to create or modify the query statement. Any existing query statements are displayed in the Criteria list, as seen in Figure 5.

Figure 5. The Criteria tab of the Query Statement Properties dialog box.


6.
Click the New button (yellow star) to add a new criteria statement or highlight an existing criteria statement and click the Edit button (hand holding paper) to display the Criterion Properties dialog box, as shown in Figure 6.

Figure 6. The Criterion Properties dialog box.


7.
Select the criterion type (in most cases, this will be Simple Value) from the drop-down list and specify the attribute class and the attribute by clicking the Select button to display the Select Attribute dialog box shown in Figure 7. The attributes describe an SMS object type and are grouped into one or more attribute classes. In this example the attribute class Status Message consists of attributes that include component, machine name, severity, and site code, any of which can be used to qualify the results of the query. Select an appropriate Attribute Class and Attribute and then click OK to go back to the Criterion Properties dialog box. Next, specify an operator by choosing one from the drop-down list. Click the Values button to display all the values related to the attribute you selected that have been recorded in the SMS database. Then Click OK.

Figure 7. The Select Attributes dialog box.


8.
To add criteria to your query, repeat steps 6 and 7 for each additional criteria statement. When you’ve finished, click OK twice to save your query.

The new status message query is now available in the Status Message Queries window. Figure 8 shows the results of running our sample query by right-clicking the sample query and choosing Show Messages from the context menu. Notice that the result of the query is to display the message “This Component Started” for every component on the site server.

Figure 8. The results of running a sample status message query.
Other -----------------
- Microsoft Systems Management Server 2003 : Filtering Status Messages (part 2) - Status Filter Rules
- Microsoft Systems Management Server 2003 : Filtering Status Messages (part 1) - Configuring Status Reporting Properties
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 6) - Upgrading Domain and Forest Functional Levels
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 5) - Moving Operation Master Roles
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 4) - Replacing Existing Domain Controllers
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 3) - Upgrading the AD Schema Using adprep
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 2) - Upgrading a Single Member Server
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 1) - Beginning the Migration Process
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 3) - Configuring Status Summarizers - Site System Status Summarizer
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 2) - Configuring Status Summarizers - Component Status Summarizer
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 1) - Display Interval , Status Message Thresholds
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Messages (part 2) - Setting Status Message Viewer Options
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Messages (part 1) - Viewing Site Status Messages
- Microsoft Dynamic CRM 4 : Data Migration (part 4) - Creating a Data Migration
- Microsoft Dynamic CRM 4 : Data Migration (part 3) - Creating a CRM Adapter Publisher
- Microsoft Dynamic CRM 4 : Data Migration (part 2) - Scribe Workbench - Target Configuration
- Microsoft Dynamic CRM 4 : Data Migration (part 1) - Scribe Workbench - Source and Target Definitions, Source Configuration
- BizTalk 2006 : Using BizTalk Framework 2.0 Reliable Messaging (part 2) - Acknowledgement Verification
- BizTalk 2006 : Using BizTalk Framework 2.0 Reliable Messaging (part 1)
- Microsoft Exchange Server 2010 : Managing Transport and Journaling Rules - Setting Up Message Classifications (part 2)
 
 
Most view of day
- Windows Server 2012 Administration : Configuring Sites (part 1) - Creating a Site - Creating Site Subnets
- Creating a Home Network : Setting Up a Wired Network with an ICS Host
- Windows Server 2008 Server Core : Outputting Data Files with the Type Command
- Windows Phone 8 : Configuring Basic Device Settings - Date and Time (part 1) - Setting the Date and Time
- Editing Digital Video with Windows Live Movie Maker (part 9) - Sharing Your Videos - Outputting to the PC
- Sharepoint 2013 : Backup and Restore (part 1) - Site Collection Backups
- Games and Windows 7 : Using the Games Explorer (part 4) - Managing Your Game Controllers and Other Game-Related Hardware
- Microsoft Visio 2010 : Finding and Managing Shapes (part 2) - Searching for Shapes
- SQL Server 2008 R2 : Configuring Resource Governor (part 1) - Enabling Resource Governor, Defining Resource Pools
- How to Troubleshoot Disk Problems (part 1) - How to Prepare for Disk Failures, How to Use Chkdsk
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro