Links During August
- New KB, The discovery process does not find computers that are present in your domain in Operations Manager 2007, link
- New KB, The SQL Server 2000 database engine health is not monitored in System Center Operations Manager 2007, here
- New KB, The appropriate tables and stored procedures are not created successfully when you install the Windows Key Management Service Management Pack for Microsoft Operations Manager 2005, here
- New MP, Microsoft SMS 2003 Management Pack for Microsoft System Center Operations Manager 2007, here
- New KB, “Loading Reporting Hierarchy Failed” error after the new Root Management Server Promotion, here
- New KB, The Reporting DTS task does not run and reports do not work when Microsoft Operations Manager (MOM) 2005 fails over to the secondary node of a server cluster, here
- Microsoft Forefront and System Center Demonstration Toolkit, download here
- New MP, Microsoft Forefront Server Security for Exchange 10.0 Management Pack for Operations Manager 2007, link
- New MP, Microsoft Office Project Server 2007 Management Pack for Operations Manager 2007, link
- New MP, Microsoft Identity Integration Server 2003 Management Pack for Operations Manager 2007, link
- New MP, Microsoft Server Network Load Balancing Management Pack for Operations Manager 200, link
- MOM 2005 Summary Reporting Pack Guide, download here
- New KB, Error message when you try to access a Web page view in the System Center Operations Manager 2007 Web Console: “Requested value ‘UrlViewType’ was not found”, here
- New KB, The System Center Operations Manager 2007 agent is unable to restart the health service after its monitored thresholds are breached, here
- Systems Center Operations Manager 2007 Documentation has been updated, download here
- MP Update, System Center Operations Manager 2007 Management Pack Update, here
- New MP, Operations Manager 2007 Data Warehouse Library Management Pack, here
- New MP, Systems Management: Dell Management Pack for Microsoft System Center Operations Manager, link
- New KB, A notification subscription’s Alert Criteria options do not work as expected in System Center Operations Manager 2007, link
Get-Rule -ID (v2)
If you have a rule or monitor that are incorrect configure you can end up with a event like the one below.
Event Type:Â Error
Event Source:Â Health Service Modules
Event Category:Â None
Event ID:Â 10102
Description:
In PerfDataSource, could not resolve counter incorrectObject, incorrectCount, incorrectInstance. Module will be unloaded.
One or more workflows were affected by this.
Workflow name: MomUIGeneratedRulebe73b15420934af6ac89a227094c0ffb
Instance name: DC01
Instance ID: {0367F246-11C3-0AA4-583B-6819AB40434E}
Management group: Contoso
With only the information in the local event it can be difficult for you to troubleshoot it. To get more information about, in this case about a rule, you can first run a SQL quert in your OperationsManager database
SELECT * FROM Rules WHERE RuleName = ‘MomUIGeneratedRulebe73b15420934af6ac89a227094c0ffb’
You will then get a lot of information about the rule, copy the string in the RuleID field, and then start Command Shell. In Command Shell run the Get-Rule command, for example Get-Rule -Id FA5958CE-1EC8-A723-541A-5A1B2D48B67D
This command will return all information about this rule, for example DisplayName. You can then easy find the rule in the Operations Console and modify it.
Look for a word on a webpage
I saw a question about looking at a website and verify that there where some words on it. If you follow my post, “How to Monitor a Web Site with Ops Mgr 2007“, then add the steps in this post, you will have a web application looking for a word on a website.
- After you have create your web application, click on it and choose “Edit web application settings” from the action menu
- Web Application Editor, in the Request Details part, check Content Match and choose Does not contain from the drop down menu, then input a word that you want to verify is on the webpage.
- Web Application Editor, click Verify
- Web Application Editor, click Apply
- Close the Web Application Editor
You can now add the web application to your computer state view, choose to personalize view. You will also see alerts in the Active Alert view if your content match settings is not fullfilled.
Â
Schedule Report to Update Every Hour
I saw a question about generating a report every hour for “the hour before”, that you can´t do out of the box. But I have a idea, why dont generate a report every half hour, for the entire day? That would give you a updated report every half hour, including the hour before, or as far as the data warehouse has processed data.
In this example I will use a generic performance report
- Open the Ops Mgr 2007 Console
- Go to Reporting (Ctrl+3)
- Expand Reporting and click Microsoft Generic Report Library
- Click Performance and then choose Schedule from the action menu
- The Subscribe to a Report wizard starts, at the Delivery page, input a description and choose a delivery method. In this example I will choose Windows File Share as delivery method. That will store my report to a file share on the network.
– File name, for example CPU Graph Today.pdf
– Path, for example \\servername\share
– Render Format, choose output format, PDF is nice
– Write mode, choose Overwrite
– User name and Password, inpute information about a account to use to write the report, then click Next - At the Subscription Schedule page, choose how often the report should be generated. I will choose Hourly and every 0 hours and 30 minutes. Choose when the subscription should start and then click Next
- At the Report Parameters page, choose
– Data Aggregation: Hourly
– From: Today 00:00
– To: 23:59
– Histogram: Daily by hours
– 3D Chart: True - At the Report Parameters page, click Change…
- In the Settings box, click New Chart
- In the Settings box. input chart title, for example CPU Graph Today
- In the Settings box, click New Series
- In the Settings box, click Add Objects, in the Add Object box, choose a item of the Windows Operating System type, click Add and then OK
- In the Settings box, click Browse
- In the Select Rule box, search for “processor” and choose “Processor % Processor Time Total” from available items, click OK
- In the Settings box, click OK
- At the Report Parameters page, click Finish
- Back in the console reporting part, click Scheduled Reports to see your new subscription.
As you can see in the report, the report are about one hour behind. If you generate the report at 23:30 the report will include data to 22:30. If you need for example performance data quicker than that, you can create a new performance view.
How to Create a Correlated Windows Event Unit Monitor
In this post I will show how to create a monitor that check for one event and if there is not another event within a specified timeframe minute from the first event, the monitor will generate an alert. I will reset the monitor with time, 3 minutes, but you can choose to reset the monitor with for example a third log event.
1. Start the console
2. Go to Authoring, expand management pack objects and click Monitors
3. Click Scope and select Windows Computer, click OK
4. Expand Windows Computers, expand Entity Health, right-click Availability and choose to create a new unit monitor
5. Create a unit monitor – Monitor Type: Choose Windows Events/Correlated Missing Event Detection/Timer Reset, click Next
6. Create a unit monitor – General: Input a name and a description, click Next
7. Create a unit monitor – Missing Event Log Name A: Input the event log name of the first event, click Next
8. Create a unit monitor – Build Missing Event Log Expression for A: Input event ID and event source, in my example it will be event id 1000 and event source EventCreate. Click Next
9. Create a unit monitor - Missing Event Log Name B: Input the event log name of the second event, click Next
10. Create a unit monitor – Build Missing Event Log Expression for B: Input event ID and event source, in my example it will be event id 2000 and event source EventCreate. Click Next
11. Create a unit monitor – Configure Correlation:
Correlation interval: 1 Minutes
Correlation Details: The last occurrence of A with the configured occurrence of B in chronological order
Click Next
12. Create a unit monitor – Auto Reset Timer: In my example I will specify 3 minutes, click Next
13. Create a unit monitor – Configure Health: Click Next
14. Create a unit monitor – Configure Alerts: Check “Generate alerts for this monitor” and then click Create
If I only get a event ID 2000 and no event ID 1000 there will be a alert. If I get event ID 2000 and event ID 1000 within 1 minute there will be no alert. You can change the correlation configuration in any way you want, for example in which order the events must be generated.
Script That Returns Performance Data
I have made a script that will search for a word in a logfile and send the result back as performance data to Ops Mgr 2007.
With default settings will the script look in the IIS log files (C:\windows\system32\LogFiles\W3SVC1\)Â for the last hour and search for the word “POST”. It will then return how many times that word is in the file as performance data.Â
To use this script you can create a new  Collection Rules/Probe Based/Script (Performance), paste the script into the “script box”, input suitable performance mapping information. If you change the “Value” (default $Data/Property[@Name=’PerfValue’]$) you must also change this in the script. Remeber to configure your IIS to generate a logfile for every hour, or modify the script.
I have configure my script to run every 70 minutes synchronize at 00:00. It will then run 10 minutes past every hour and tot up the hour before.
You can download the script here. Send me a e-mail if you have any feedback or suggestions.
Proxy Settings
Ops Mgr product team at Microsoft has made a tool to work with proxy settings in Ops Mgr 2007. With this tool you can easy browse proxy settings. A great way to for example very that all your domain controllers has the correct setting. Current version is 1.1.
You can download the tool here.
Script: Monitor Process
This is a script that will monitor if a process is running, and if it is running, for how long it has been been running. Default settings is monitoring notepad.exe and will generate a local event if it has been running for more than 15 minutes. You can implement this script with timed commands/execute a script
Download the script here
Overrides Explorer Utility
Boris Yanushpolsky in the Ops Mgr product team at Microsoft has made a tool to work with overrides in Ops Mgr 2007. With this tool you can easy browse overrides based on type or computer.
You can download the tool here , current version is 3.2

VM snapshot with Azure Backup
Validate your runbook design
Recent Comments