Professional Documents
Culture Documents
Operations
Manager 2005
Operations Guide
Tools
Author: Dan Wesley
Program Manager: Baelson Duque
Published: December 2004
Applies To: Microsoft Operations Manager 2005
Document Version: Release 1.0
The information contained in this document represents the current view of Microsoft Corporation
on the issues discussed as of the date of publication. Because Microsoft must respond to
changing market conditions, it should not be interpreted to be a commitment on the part of
Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the
date of publication.
This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES,
EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting
the rights under copyright, no part of this document may be reproduced, stored in or introduced
into a retrieval system, or transmitted in any form or by any means (electronic, mechanical,
photocopying, recording, or otherwise), or for any purpose, without the express written
permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
Unless otherwise noted, the example companies, organizations, products, domain names, e-mail
addresses, logos, people, places, and events depicted herein are fictitious, and no association
with any real company, organization, product, domain name, e-mail address, logo, person, place,
or event is intended or should be inferred.
2004 Microsoft Corporation. All rights reserved.
Microsoft, MS-DOS, Windows, Windows NT, Windows Server, Active Directory, ActiveSync, and
Windows Mobile are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their
respective owners.
Acknowledgments
Primary Reviewers: Doug Bradley, James Hedrick, Tom Keane
Managing Editor: Sandra Faucett
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Tools
C H A P T E R 8
This chapter describes the tools that you can use for various tasks in the Microsoft® Operations
Manager 2005 (MOM) environment. Some of these tools are on the product CD, while others are
in the Microsoft Operations Manager 2005 Resource Kit.
This chapter provides a brief description of each tool, as well as information about why and when
to use each tool. The intended users are MOM Administrators and MOM Authors.
In This Chapter
• Tools on the MOM CD
• MOM 2005 Resource Kit Tools
• The Management Pack Tool Collection
• Diagnostic and Maintenance Tools
• Power Tools
• MOM 2005 Solution Accelerators
• Recommended Tools
• Additional Resources
What’s New
The following resources have been updated, or are new:
• The Microsoft Operations Manager 2005 SDK
• The Microsoft Operations Manager 2005 Resource Kit
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
6 Chapter 8 Tools
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 7
Note: Indicate the version number that you want to assign using the following
format: 00.0.0000.0000
-Vm 00.0.0000.0000 //Add MOM Server version dependency. This option attaches the
version number of the MOM Server that the Management Pack is exported from
-W //Write to a new AKM file
-A //Append to an existing AKM file
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
8 Chapter 8 Tools
Report Utility
Use this tool to import from, or export to, reports to the Reporting Database.
Type: Command line
Prerequisites: None
How to use: From the command prompt, use the tool as follows:
RptUtil.exe [options]
Options:
/action: // Action - import or export. (Default=export)
/file: //Full path to the import or export file.
(Default=C:\MOMReports.XML)
/url: //Url of the report server.
(Default=http://localhost/ReportServer/ReportService.asmx)
Note: Url can end with or without ReportService.asmx.
/reportpath: //Path to the report or report folder to be exported. (Default=/)
Note: Valid only when action=export
/fromdsref: //Name of the "from" datasource reference to fixup. (Default=SCDW)
Note: Valid only when action=import
/todsref: //Name of the "to" datasource reference to fixup.
Note: Valid only when action=import
/datasource: //Name of the datasource to fixup. (Default=SCDW)
Note: Valid only when action=import
/dwserver: //Name of the datawarehouse server used to fixup the datasource.
(Default=.)
Note: Valid only when action=import
/dwdb: //Name of the datawarehouse database used to fixup the datasource.
(Default=SystemCenterReporting)
Note: Valid only when action=import
/noprompt //Do not prompt for user input. (Default is to prompt if needed)
Note: Use this option when running from an automated script.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 9
Options:
-query //returns the current Action Account settings for the specified
management group.
-set <domain> <username> //sets the Action Account for the specified management
group.
Note: The tool will prompt you for the new password.
Note: The management group must be specified, even if the agent is not
multihomed.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
10 Chapter 8 Tools
Prerequisites: Must be run on the Management Server or MOM agent computer with adequate
privilege level.
How to install: Copy to the Management Server or MOM agent computer and run oomads.msi
to install the object.
RemoveConfigGroup
Use this tool to remove a MOM 2000 Service Pack 1 (SP1) configuration group.
Type: Command line.
File list: RemoveConfigGroup.exe.
Prerequisites: Must be run on the Management Server.
How to use: From the command prompt, use as follows:
RemoveConfigGroup <RemoteAgentName> <ConfigGroupToRemove>
<RemoteAgentName> // the name of computer hosting the remote agent
<XmlOutputFile> // the name of the configuration group to remove
SP1AgentUninstaller
Use this tool to uninstall a MOM 2000 SP1 agent.
Type: Command line.
File list: SP1AgentUninstaller.exe.
Prerequisites: Must be run on the server that hosts the agent.
How to use: From the command prompt, use as follows:
SP1AgentUninstaller.exe
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 11
This program opens a dialog box that you can use to provide the information that is needed to
create a new operational database. Please provide credentials in the DOMAIN\USER format. In
the case of install on a cluster machine, please provide a database data and log file location which
is owned by the cluster group which also owns the SQL instance being used for the database
install. This tool does not provide a progress indicator or log and may take some time to
complete. DO NOT CLOSE THE APP DURING THE INSTALL. Remember, the larger the
database, the longer the install will take to perform.
It is not recommended that a MOMCreateDB.exe install coincide with any MOMServer.msi
component. Installs created with MOMCreateDB.exe do not have an automatic uninstall
method.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
12 Chapter 8 Tools
<user>
/user:domain\account //The user to set (or remove) permissions for. For local
accounts, use machinename\account.
<options>
/mommp //Configure minimum permissions for MOM 2005 Management Pack.
Note: there are also SQL permission required for monitoring the MOM database
/cleanup //Removes the user from all permissions granted by /mommp.
Note: /cleanup overrides /mommp.
Notes:
Options may be delimited by '/' or '-'.
- ConfigActionAccount.exe only grants (or removes) permissions needed for a non-
administrative Action Account. Use SetActionAccount.exe to set the Action
Account used by a MOM 2005 management server or agent.
- Minimum permissions needed by the Action Account for the MOM Management Pack
[/mommp] are:
- Member of the "Users" local group
- Member of the "Performance Monitor Users" local group
- Assigned the "SeSecurityPrivilege" user right
- Assigned the "SeInteractiveLogonRight" user right
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 13
Note
The xml format created by this tool is currently not supported,
but that that it is subject to change going forward.
Event Creator
Use this tool to create events for testing Management Packs. Event Creator enables you to choose
event sources for the existing event logs that are currently registered.
Type: Graphical user interface.
File list: EventCreator.msi, EventCreator_Readme.doc.
How to install: Run EventCreator.msi to install the tool.
How to use: At the command prompt, type: EventCreator.exe. From Windows Explorer,
navigate to Program Files/Event Creator and double-click EventCreator.exe.
After the program is started, you can specify an event source, select an event ID, type, and
category, and then generate the event.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
14 Chapter 8 Tools
<required>
/src: // The source ManagementPack XML file.
/tgt: // The target ManagementPack XML file.
[<optional>]
/lock: // Apply a lockfile against the diff result.
/createLock: // Create a lockfile from this diff result.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 15
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
16 Chapter 8 Tools
• Rules to monitor each Windows Service, to adjust the health of selected components.
• Rules to monitor each performance threshold that is created.
• A Rule Group for the Management Pack.
• A class and relationship structure for the monitoring role.
• A service discovery script and time rule.
• The Management Pack.
Type: Graphical User Interface.
File list: MPWizard.exe, mputil.dll, MPWizard_Readme.doc.
Prerequisites: User must be a member of the MOM Administrator or the MOM Author group.
How to use: Copy MpWizard.exe and mputil.dll to the computer where you want to create the
Management Pack. Double-click MpWizard.exe (or use the command line) to start the wizard.
Response Tester
Use this tool to test your scripts and responses. Test results are displayed on the command-line
screen, or can be saved to an XML file.
Type: Command line.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 17
Options:
/? // obtain detailed information about the options
/config:<path> // The path to the configuration file. The configuration
file must be of the form described. Press 'c' for more information.
/script:<path> // The path to the script file. The script file must be
of the form described. Press 's' for more information.
/out:<path> // The path to the output xml file. This defaults to
'console'. Press 'o' for more information.
/f // Overwrites the output xml file if it exists.
/q // Suppresses all prompts.
/d // Enables script debugging.
/x // Breaks on first line of script.
<MOMDBServer> // the name of the MOM database server that hosts the OnePoint
database
[\instance] // provide the instance name is the database is not the default
instance
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
18 Chapter 8 Tools
<TargetAgent> // the name of the managed computer whose rules you want to obtain
The output from running this tool is a text file that is created in the following folder:
C:\ResultantSetOfRules. The file naming convention is: COMPUTERNAME RSOR 2004-11-11
HHMMSS.log.
Note
“HHMMSS” is not hard coded, the hours, minutes, and seconds
time stamp is automatically generated when the output is
created.
<Action>
/list:[<all/computer/rule>] // Lists the computer or processing
rule groups (all/computer/rule arguments are optional), defaults to all.
/enable // Enables the specified computer or processing
rule group
/disable // Disables the specified computer or processing rule
group.
/commit:[<true/false>] // Commits any changes (true/false arguments
are optional, defaults to true), this flag can be combined with the enable or
disable flags.
<Specifier>
/compgroupname:<name> // Specifies the name of the computer
group.
/compgroupid:<id> // Specifies the id of the computer group.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 19
<Option(s)>
/r // Lists the subgroups as well as the top level groups,
only valid with the 'list' action.
Note
You should only use this program when you cannot uninstall
MOM using Add/Remove Programs.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
20 Chapter 8 Tools
Where:
CGName: // Name of the Computer group to get information about
dasname: // Name of the DAS (default local computer)
xmlfilename: // xml file name (default is console)
xsltfilename: // xslt file name (default CGMembers.xslt)
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 21
• Collect the rules, responses, and VarSet values from the MOM agent into an XML file, for
offline analysis.
• Clear the queues on an agent.
• Run the utility locally at the agent, and put it into maintenance mode.
• Enable script debugging.
Type: Command line.
File list: MOMInfo.exe, MOMInfo_Readme.doc.
Prerequisites: Must be run on the computer on which an agent is installed, or on a Management
Server.
How to use: Run from the command prompt, as follows:
MOMInfo.exe <Action Flag> [<Location>] [<Options>]
<Action Flag> // Flag specifying the action to perform, can be any one of the
following:
/rules // dumps the rules as xml (optional)
/responses//dumps the responses as xml (optional)
/varset // dumps the varset as xml (optional)
/clearqueue // Clears all MOM queues (optional)
/maintenancemode:<timeout> // Sets maintenance mode (optional),
Note: <timeout> is the max amount of time to remain in maintenance mode,
defaults to '-1' (INFINITE), set to 'exit' to exit maintenance mode (optional)
/scriptdebugging:<script>// sets script debugging (optional),
<script> is the name of the script to debug defaults to '*', set to 'off' to
turn script debugging off (optional)
/errorhandling:<mode> // sets error handling (optional),
<mode> is the either off (default), queue, or auto (optional)
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
22 Chapter 8 Tools
MOM Inventory
Use this tool to collect all of the information that Product Support Services (PSS) requires to
troubleshoot a CAB file. The following information is collected:
• All of the MOM Trace logs.
• MOM Agent Install logs.
• Registry values and ACLs.
• Directory ACLs for the MOM installation directory.
• Version information for all the binary files in the MOM installation directory.
• Values stored in the OnePoint Configuration table
Type: Dialog.
File list: MOMInventory.exe, MOMInventory_Readme.doc
Prerequisites: This tool requires the .NET Framework v1.1.4322 or later.
How to use: From the command prompt, use as follows:
MOMInventory.exe
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 23
Prerequisites: None
How to use: From the command prompt, use as follows:
MOMLogViewer.exe
After the dialog opens, use File/Open in the dialog (this defaults to %WinDir%\Temp\Microsoft
Operations Manager) and select the log that you want to view.
For more information about applying filters or finding specific text, see
MOMLogViewer_Readme.doc.
Run without specifying a server name, the tool performs a simple diagnostic. You
can also use the /SERVER:<server name> switch to identify a server that you want
to diagnose.
Power Tools
Agent Helper
Use this tool to fix an agent, in the event that it is no longer sending heartbeat messages to the
MOM Management Server. A sample Management Pack can be imported that shows how to
configure the two main responses: ReviveAgent, and ReviveDeadAgent.
Type: Management Pack and managed code.
File list: AgentHelper.akm, AgentHelper.dll, AgentHelper_Readme.doc.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
24 Chapter 8 Tools
Prerequisites: The following requirements must be met before this tool can be installed:
• Server-side responses must be enabled.
• The MOM Management Server Action Account must have administrative rights on all of the
agents that are to be automatically managed by Agent Helper.
How to install: Copy AgentHelper.akm and AgentHelper.dll to %Program Files%Microsoft
Operations Manager 2005. Import the AgentHelper Management Pack.
How to use: See AgentHelper_Readme.doc for detailed instructions about using this tool.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 25
• Notify on Change, if selected (the default), will cause the Notification window to appear
any time a counter changes.
• Auto Hide Notifications, if selected (the default), will cause the Notification window to
close, a short time period after appearing.
Password Updater
Use this tool to update passwords for:
• Windows services (Account Name)
• COM+ applications (Identity)
• Task Scheduler (Run As)
• AT.exe (Service Account)
• Virtual directories (VDirs) in Internet Information Services (IIS) (Anonymous User and
UNC User)
Type: Command line.
File list: PasswordUpdater.exe, PasswordUpdater_Readme.doc.
Prerequisites: The user password must be changed in Active Directory®, first.
How to use: Run from the command prompt, as follows:
PasswordUpdater.exe [Options]
[Options]
/s <serverName> // server to change passwords on.
/f <serverlistfile> // plain text file containing list of servers, one
per line
/a <accountName> // account name to look for
/p <password> // password to update for the given account name
/n <newAccount> // new account name for changing accounts (optional)
/x <xmlFilePath> // xml file (see format below) to specify servers and
account information.
/- <section name> // do NOT update <section name> objects.
/+ <section name> // DO update <section name> objects.
/t // tell mode: do not actually make changes; just tell what
would be changed
/I // inventory mode attempts to find where passwords are
stored
/v // verbose mode
/r // restart services after update
/? // display this help message
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
26 Chapter 8 Tools
Note:
Run PasswordUpdater.exe /? To obtain more information about this tool and
view examples.
Task Launcher
Use this tool to run a MOM task from the command line. The task that you want to run must
already exist.
Note that this tool will only work with runtime tasks, or tasks that run on the MOM server or the
MOM agent computer.
Type: Command line.
File list: TaskLauncher.exe, TaskLauncher_Readme.doc.
Prerequisites:
• A MOM 2005 Management Server
• The .NET Framework version v1.1.4322 or later.
How to use: Run from the command prompt, as follows:
TaskLauncher.exe <Action> [<Option(s)>]
<Action>
/list // Lists all the Tasks that are currently available in MOM and
provides task ids.
/run // Runs the specified task on the specified task on the specified
server. If no server is specified, the task is run on the local system.
TaskLauncher.exe /run /server:<TargetAgent> /taskpath:<TaskPath>
<Option>
/server:<server> // Specifies the server name
/taskpath:<taskpath> // Specifies the full path to the target task
/taskid:<taskid> // Specifies the task id of the target task
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 27
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
28 Chapter 8 Tools
Autoticketing Solution
This solution provides guidance for automated ticket generation, enabling the automated posting
of a request (or ticket) into the Trouble Ticketing (TT) system, used for incident management.
The solution accelerator improves operational efficiency of autoticketing by facilitating quicker
and more effective responses to service incidents, and by improving accuracy and speed in
receiving information. The solution accelerator consists of a guide to help you prepare for, and
implement, autoticketing. The solution offers increased operational efficiency through:
• A reduction or prevention of service incidents through the use of proactive remedial action.
• Faster and more effective responses to service incidents.
• Improved overall availability of services.
Type: Documentation.
File list: The installation program copies the following files to the destination folder: Automatic
Trouble Ticket Generation Using MOM 2005.doc, CIS_EULA_v4_Autoticketing.rtf, and
Readme.txt.
Prerequisites: See the Readme.txt file provided with the solution.
How to install: Run the Autoticketing.msi installation program.
How to use: See the Readme.txt file provided with the solution.
Notification Workflow
This solution is a Microsoft SQL Server™-based Notification Services application that can be
used to extend notification functionalities of Microsoft Operations Manager (MOM) 2005. It
allows a user to subscribe to, and be notified when, alerts associated with specific applications or
Microsoft Windows® services are generated. Whenever an alert occurs, an alert notification is
sent to the subscriber, in the form of an e-mail. The notifications can be sent to the user based on
schedules, schedule overrides, and extended MOM alert properties, according to user selection
when subscribing. The alert properties available for selection include computer name, alert
source, alert severity, Management Pack name, computer group name, device, and alert
description. The solution accelerator includes the Notification Workflow Installation Guide,
Notification Workflow User Guide, Test Plan, Test Case Details, and code.
Type: Documentation and binary installation file.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 29
File list: The installation program copies the following files to the destination folder:
CIS_EULA_v4_Notification_Workflow.rtf, Notification Workflow Installation Guide.doc,
Notification Workflow User Guide.doc, Notification Workflow.msi, Readme.txt, Test Case
Details_Notification Workflow.xls, and TestPlan - Notification Workflow.doc.
Prerequisites: See the Readme.txt file that provided with the solution.
How to install: Run the Notification_Workflow.msi installation program.
How to use: See the Readme.txt file provided with the solution.
Recommended Tools
The tools described in the following table are recommended for maintaining your MOM 2005
environment.
Table 8.1 Recommended Tools
Name Description
Smi2smir.exe Use this tool to compile third-party
management information bases
(MIBs) into WMI format so that MOM
can read them. For example, if you
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
30 Chapter 8 Tools
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 31
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
32 Chapter 8 Tools
Additional Resources
For the latest information about MOM, see the product Web site at
http://go.microsoft.com/fwlink/?linkid=6727.
To access the MOM core product documentation on the Web, see the Technical Resources section
of the product Web site at http://go.microsoft.com/fwlink/?LinkId=8943.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Recommended Tools 33
To access the Microsoft Operations Manager 2005 Deployment Guide, see the guide on TechNet
at http://go.microsoft.com/fwlink/?linkid=33535
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community