Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Home  » Operations Manager  » Generic Performance Reports for SCOM R2 - 8 Counters Per Page

Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 12:44 AM :: Rank: 95
Author
Points: 600
Level: System Center Hero

I was going to share these earlier, but didn't have to time to.  I re-wrote the reports to be much more effecient (as efficient as I could given how the performance information is stored in the datawarehouse).

I bundled this in a management pack that contains a few stored procedures and a few reports.  There are only 2 prerequisites, SCOM R2 and the Reporting Server must be SQL 2008 (they use the 2008 RDL format).

If there's enough interest I'll create some performance reports for SQL, IIS, etc and also make a walk-through on how to utilyze the report's format to quickly and easily make customized reports.

I've put this management pack up at : http://systemcentered.com.  There is some more detailed information on the site along with the download.  Also, attached are some samples.

   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 5:15 AM :: Rank: 40
Author
Points: 27434
Level: System Center Expert
Funny, I'm doing the same thing here currently but with getting Thresholds and stuff using the SDK.
   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 5:18 AM :: Rank: 40
Author
Points: 28999
Level: System Center Expert
Chad, I really like your reports. Nice, slick and very useful. Especially the multi graph per page and the dump of all collected performance counter is very valuable. Keep 'em coming!



cheers,

Stefan

http://www.code4ward.net
   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 8:07 AM :: Rank: 43
Author
Points: 10290
Level: System Center Expert
Chad,



It is very nice report. Thanks for sharing. in order to run the report do we have to set additional permission? When you launch the report it is trowing following error'



Note: The following information was gathered when the operation was attempted. The information may appear cryptic but provides context for the error. The application will continue to run.



Microsoft.Reporting.WinForms.ReportServerException: An error has occurred during report processing. (rsProcessingAborted) ---> Microsoft.Reporting.WinForms.ReportServerException: Query execution failed for dataset 'list_object'. (rsErrorExecutingCommand) ---> Microsoft.Reporting.WinForms.ReportServerException: The EXECUTE permission was denied on the object 'sp_syscentered_managedentity_fortypename', database 'OperationsManagerDW', schema 'dbo'.

--- End of inner exception stack trace ---

--- End of inner exception stack trace ---

at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()

at Microsoft.Reporting.WinForms.ServerReport.GetParameters()

at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.ReportParameterBlock.Initialize(ServerReport serverReport)

at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.SetReportJob(Object sender, ConsoleJobEventArgs args)

Microsoft.Reporting.WinForms.ReportServerException: Query execution failed for dataset 'list_object'. (rsErrorExecutingCommand) ---> Microsoft.Reporting.WinForms.ReportServerException: The EXECUTE permission was denied on the object 'sp_syscentered_managedentity_fortypename', database 'OperationsManagerDW', schema 'dbo'.

--- End of inner exception stack trace ---

Microsoft.Reporting.WinForms.ReportServerException: The EXECUTE permission was denied on the object 'sp_syscentered_managedentity_fortypename', database 'OperationsManagerDW', schema 'dbo'.

   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 8:54 AM :: Rank: 38
Author
Points: 600
Level: System Center Hero
Thank you guys. At the company where I work we weren't fans of the built in reporting as it was hard for anoyone to get them to return any data (mainly because of selecting the correct parameters).



Orphan, I did not even think about permissions as the account I use has db_owner rights. The datawarehouse reader account is going to need rights to run the stored procedures that the MP created.



I'll have to think of a way to make that automated when the MP is created. But, for now you can grant execute to the stored procedures by either giving your dw reader account "db_owner" rights or granting rights to the individual procesdures : http://msdn.microsoft.com/en-us/library/ms345484.aspx . Depending on your environment, "db_owner" may not be the best idea.
   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 14, 2010 2:34 PM :: Rank: 30
Author
Points: 600
Level: System Center Hero
Sorry about the security oversight. If you run the below against your datawarehouse DB, it should take care of it. All the SQL below does is grants execute rights to the stored procedures to the OpsMgrReader application role. I will update the Management Pack tonight to include this in the build script.





GRANT EXEC ON [dbo].[sp_syscentered_collectedperfmoncounters_formanagedentity] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_managedentity_fortype] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_managedentity_fortypename] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_managedentitytype] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perf] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perf_daily] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perf_hourly] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perf_raw] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perfcounters_counter_forobject] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perfcounters_instance_forcounter] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perfcounters_object_forobject] TO OpsMgrReader

GRANT EXEC ON [dbo].[sp_syscentered_perfruleinstance_getfromobjectcounterinstance] TO OpsMgrReader

   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Fri, Apr 16, 2010 9:01 AM :: Rank: 40
Author
Points: 10290
Level: System Center Expert
Thanks Chad for that.



by the way it would be nice if you add more parameter into report. for example running report for a group or for multiple computers. : )



   Report Abuse
Re: Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Posted: Wed, Apr 21, 2010 11:27 PM :: Rank: 56
Author
Points: 600
Level: System Center Hero
The multiple computers reports will be a little bit slower, but should be livable.



What would you guys prefer, to have the computer parameters in the drop down or to use the SCOM parameter block?



The reason behind having the drop down is so that the reports can be ran from Reporting Services, not requiring SCOM and still allowing for parameters. The advantage to the SCOM parameter block is that the report will take the user's security context. I may just have two MP's, it shouldn't take too much more work.
   Report Abuse

Home  » Operations Manager  » Generic Performance Reports for SCOM R2 - 8 Counters Per Page
Top Contributors
Featured Members
Pete Zerger
Points: 65442
Level: System Center Expert
Tommy Gunn
Points: 42712
Level: System Center Expert
Simon Skinner
Points: 40744
Level: System Center Expert
Stefan Koell
Points: 28999
Level: System Center Expert
Andreas Zuckerhut
Points: 27434
Level: System Center Expert