%3CLINGO-SUB%20id%3D%22lingo-sub-365579%22%20slang%3D%22en-US%22%3EMonitor%20State%20Report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-365579%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Sep%2001%2C%202010%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpsMgr%20Health%20Explorer%20allows%20you%20to%20look%20at%20the%20State%20of%20all%20Monitors%20for%20a%20specific%20object.%26nbsp%3B%20But%2C%20what%20if%20you%20want%20to%20look%20at%20the%20State%20of%20a%20specific%20Monitor%20on%20ALL%20objects%20that%20it%20applies%20to%3F%26nbsp%3B%20For%20example%2C%20I%20want%20to%20see%20the%20state%20of%20the%20%E2%80%9CSQL%20Server%20Windows%20Service%E2%80%9D%20Monitor%20on%20all%20objects%20that%20it%20applies%20to%E2%80%A6.or%20maybe%20just%20those%20that%20are%20in%20a%20Critical%20State%E2%80%A6.or%20maybe%20just%20for%20the%20version%20of%20the%20monitor%20that%20is%20targeted%20at%20the%20SQL%202005%20DB%20Engine%20class.%26nbsp%3B%20Here%20is%20a%20report%20that%20should%20help%20with%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20report%20allows%20you%20to%20select%20a%20Monitor%20and%20view%20the%20state%20of%20all%20objects%20targeted%20by%20the%20monitor.%26nbsp%3B%20It%20requires%20a%20data%20source%20for%20the%20Operations%20database%20(the%20data%20source%20should%20be%20named%20%E2%80%9COpsDB%E2%80%9D.%26nbsp%3B%20Kevin%20Holman%20has%20instructions%20on%20how%20to%20create%20this%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fkevinholman%2Farchive%2F2008%2F06%2F27%2Fcreating-a-new-data-source-for-reporting-against-the-operational-database.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20here%20%3C%2FA%3E%20.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20report%20has%20four%20parameters%20to%20select%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ETarget%20%3CBR%20%2F%3E%3C%2FSTRONG%3E%20Selecting%20a%20Target%20Class%20will%20narrow%20down%20the%20list%20of%20monitors%20to%20choose%20from.%26nbsp%3B%20If%20you%20know%20what%20class%20the%20monitor%20you%20are%20interested%20in%20targets%2C%20select%20it%20here.%26nbsp%3B%20Otherwise%2C%20use%20the%20default%20of%20%3CALL%3E%3C%2FALL%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMonitor%20Name%20Filter%20%3CBR%20%2F%3E%3C%2FSTRONG%3E%20If%20you%20know%20part%20of%20the%20name%20of%20the%20monitor%20you%20are%20interested%20in%2C%20enter%20it%20here%20to%20narrow%20down%20the%20list%20of%20monitors.%26nbsp%3B%20Otherwise%2C%20use%20the%20default%20of%20%E2%80%9C%25%E2%80%9D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMonitor%20Name%20%3CBR%20%2F%3E%3C%2FSTRONG%3E%20This%20will%20give%20a%20list%20of%20monitors%20to%20choose%20from%2C%20based%20on%20selection%20in%20the%20Target%20and%20Monitor%20Name%20Filter%20Parameters.%26nbsp%3B%20This%20uses%20the%20Display%20Name%20property%20of%20the%20monitors%2C%20and%20there%20could%20be%20more%20than%20one%20monitor%20with%20the%20same%20display%20name.%26nbsp%3B%20For%20example%2C%20the%20SQL%20MP%20has%20a%20%E2%80%9CSQL%20Server%20Windows%20Service%E2%80%9D%20monitor%20targeted%20at%20both%20SQL%202005%20DB%20Engine%20and%20SQL%202008%20DB%20Engine.%26nbsp%3B%20If%20the%20Target%20parameter%20is%20set%20to%20%22%3CALL%3E%E2%80%9D%2C%20we%20will%20show%20the%20state%20of%20both%20monitors.%26nbsp%3B%20If%20you%20need%20to%20narrow%20it%20down%2C%20select%20the%20desired%20target.%3C%2FALL%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EState%20%3CBR%20%2F%3E%3C%2FSTRONG%3E%20Select%20the%20state(s)%20that%20you%20want%20to%20show%20in%20the%20report%20(Unmonitored%2C%20Healthy%2C%20Warning%2C%20Critical)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20998px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F86821iC2092861D49F115D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERight%20now%2C%20the%20report%20is%20pretty%20basic%20in%20what%20it%20displays%E2%80%A6I%E2%80%99m%20open%20to%20feedback%20and%20suggestions%20for%20improvement.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2Ftelligent.evolution.components.attachments%2F01%2F6699%2F00%2F00%2F03%2F35%2F31%2F06%2FMonitor%2520State%2520Report.zip%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Monitor%20State%20Report.zip%20%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-365579%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20published%20on%20TECHNET%20on%20Sep%2001%2C%202010%20%26nbsp%3BOpsMgr%20Health%20Explorer%20allows%20you%20to%20look%20at%20the%20State%20of%20all%20Monitors%20for%20a%20specific%20object.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-365579%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EJimmyHarper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

First published on TECHNET on Sep 01, 2010

 

 

OpsMgr Health Explorer allows you to look at the State of all Monitors for a specific object.  But, what if you want to look at the State of a specific Monitor on ALL objects that it applies to?  For example, I want to see the state of the “SQL Server Windows Service” Monitor on all objects that it applies to….or maybe just those that are in a Critical State….or maybe just for the version of the monitor that is targeted at the SQL 2005 DB Engine class.  Here is a report that should help with this.

 

The report allows you to select a Monitor and view the state of all objects targeted by the monitor.  It requires a data source for the Operations database (the data source should be named “OpsDB”.  Kevin Holman has instructions on how to create this here .

 

The report has four parameters to select:

 

Target
Selecting a Target Class will narrow down the list of monitors to choose from.  If you know what class the monitor you are interested in targets, select it here.  Otherwise, use the default of <ALL>

 

Monitor Name Filter
If you know part of the name of the monitor you are interested in, enter it here to narrow down the list of monitors.  Otherwise, use the default of “%”

 

Monitor Name
This will give a list of monitors to choose from, based on selection in the Target and Monitor Name Filter Parameters.  This uses the Display Name property of the monitors, and there could be more than one monitor with the same display name.  For example, the SQL MP has a “SQL Server Windows Service” monitor targeted at both SQL 2005 DB Engine and SQL 2008 DB Engine.  If the Target parameter is set to "<ALL>”, we will show the state of both monitors.  If you need to narrow it down, select the desired target.

 

State
Select the state(s) that you want to show in the report (Unmonitored, Healthy, Warning, Critical)

 

 

 

 

 

 

Right now, the report is pretty basic in what it displays…I’m open to feedback and suggestions for improvement.

 

Monitor State Report.zip