|
|
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 |
Thank you for your rating!
|
Funny, I'm doing the same thing here currently but with getting Thresholds and stuff using the SDK.
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 |
Thank you for your rating!
|
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
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 |
Thank you for your rating!
|
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'.
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 for your rating!
|
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.
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 |
Thank you for your rating!
|
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
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 |
Thank you for your rating!
|
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. : )
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
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 |
Thank you for your rating!
|
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.
|
|
| Your Reports Help Protect the Community |
|
The community depends on each member to help keep Answers a safe and positive place. Do your part by using the form below to report Q&A that violates the Community Guidelines.
|
Additional Detail(optional)
|
Report Abuse |
|