System Center Operations Manager

Broadcasting live from Redmond, Washington

Get all Monitors and Overrides for a Management Pack

If you'd like to see outputs of a Management Pack's monitors and overrides (in addition to seeing a list of all rules), those are also easy to pull out using the Command Shell.

For monitors, you use this command: get-monitor -managementPack name.mp | export-csv filename

For example, this command gets the monitors associated with one of the core Management Packs:
get-monitor -managementPack System.Health.Library.mp | export-csv "C:\monitors.csv" 

It creates a CSV file that looks like this when opened in Excel:

For overrides: get-override -managementPack name.mp | export-csv filename

For example, this command:
get-override -managementPack Microsoft.SystemCenter.OperationsManager.Internal.mp | export-csv "c:\overrides.csv"
produces an output file that looks like this when opened in Excel:

 Note that some versions of Excel will require that you tell it that you're opening a text file.

Published Thursday, August 02, 2007 5:08 PM by Jonobie Ford
Filed under: ,

Comments

No Comments
New Comments to this post are disabled

About Jonobie Ford

I joined Microsoft in October of 2006, right in the middle of a flurry of Ops Manager activity. After joining, I started work on planning for the Management Pack guides and later wrote the Active Directory MP Guide. Prior to joining Microsoft, I was a writer at IBM in the Tivoli brand, most recently for the Response Time Tracker product, although I also worked on the Enterprise Console product. I now work as the content publishing manager for System Center Capacity Planner, System Center Service Manager, and the Connector and Cross-Platform extensions for Operations Manager.

This Blog

Syndication


© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker