Home » Microsoft Operations Manager 2005 (Page 7)

Category Archives: Microsoft Operations Manager 2005

Check if there are any *.err files

This script checks if there is any .err files in the directory. If there is any, a event is generated in the local event viewer.

Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.getfolder("C:\")
For Each File in Folder.Files
If fso.GetExtensionName(File)="err" Then
Const EVENT_WARNING = 2
Set objShell = CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_WARNING, _
"There are error files in " & folder
End If
Next

Count number of instances

This script checks if notepad.exe is running more that 4 times. If it is running more than 4 times a event is generated. You can then collect those event and get an alert in operators console.


strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objShell = CreateObject("Wscript.Shell")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'notepad.exe'")
If colProcesses.Count < 4 Then Const EVENT_WARNING = 2 Set objShell = CreateObject("Wscript.Shell") objShell.LogEvent EVENT_WARNING, _ "There are less then 4 instances of notepad.exe running" End If

ISA MP

There is a new version of “Microsoft Internet Security and Acceleration (ISA) Server 2000, 2004, and 2006 Management Pack for Microsoft Operations Manager (MOM) 2005”

Don´t forget to backup your old version before you import this version.

MOM article in TechNet Magazine

In the last number (2006/09) of TechNet Magazine there is a couple of interesting articles about MOM

Multiple changes of rules

Mass MOM rule editor x1.0 is a tool that you can use for change/update many rules at once. You can change the following values

  • Enable/Disable
  • Name
  • Company Knowledge
  • Vendor Knowledge

This will be great help if you for example want to change “Company Knowledge” in many rules at the same time.

You will find the tool here here

Microsoft Availability Reporting Management Pack for Microsoft Operations Manager 2005

There is new version of “Microsoft Availability Reporting Management Pack for Microsoft Operations Manager 2005” again.
Always test in a lab first

File Name: Microsoft Availability Reporting MOM 2005 MP.msi
Version: 05.0.5000.0000
Date Published: 8/31/2006
Language: English
Download Size: 1.1 MB

Microsoft Availability Reporting Management Pack for Microsoft Operations Manager 2005

Book of the day

Soon there will be a new book about MOM 2005 🙂

Start to Finish Guide to Microsoft Operations Manager 2005 (Start to Finish Guide) (Paperback)
http://www.amazon.com/gp/product/1932577246/qid=buzzmanagement/102-5439996-0880944?n=283155

More information about the book here

KB Article 922332

Article 922332: How to move Microsoft Operations Manager 2005 Reporting together with the MOM Reporting database to a different computer.

Article 9223322 is about moving the SystemCenterReporting database to a new machine. In general that KB is enough, but I would like to add some information.

During step 1 you should write down all permissions that you have in your reporting console. Also document all extra SQL permissions that you have setup, for example permissions to dev department. Step 1 describe how you should use RptUtil.exe to export reports. SQL 2005 is require higher XML security so most of your SQL 2000 reports will not work in SQL 2005. There is a KB about this KB919598 too. If you don’t get reports to work with the latest MP version you can call Microsoft Product Support Services and ask them to send you latest report version.

During step 4 you are told to install MOM 2005 reporting on the target machine. To make sure MOM 2005 don’t think the old machine still is the reporting server you can run the following query in the OnePoint database “SELECT * FROM reportingsettings”. If MOM 2005 thinks there is two reporting servers you will get problems when importing reports. They will be imported but never show up in reporting console.

Be sure that you export your custom made reports during step 1, you can import them in reporting console after step 8.

Don’t forget to write down all subscriptions too. If you use subscriptions you will have to setup SMTP again.

Configuring a Report Server for E-Mail Delivery

How to move Microsoft Operations Manager 2005 Reporting together with the MOM Reporting database to a different computer

When you try to import a Microsoft Operations Manager 2005 report file, the import process fails

Prerequisite Check Failed

Prerequisite Check Failed

When you are installating MOM 2005 Reporting Services on SQL 2005 SP1 the default settings will presumably not work. When you get to “SQL Server Reporting Services Server” there is a checkbox named “Automatically detect virtual directories”. If that box is enabled you will get the above error. Uncheck that box and fill in the input boxes with the default values, and it will work.

  • Report Server Virtual Directory: ReportServer
  • Report Manager Virtual Directory: Reports

Event, Alert and Performance parameters

Article ID 885725 contains all event, alert and performance parameters. Its a very good source when setting up advanced criteria.

An alert that is generated by using managed code displays the property text name instead of the event information in Microsoft Operations Manager 2005
http://support.microsoft.com/?id=885725