SCOM Monitored Inventory tsql report

raymond 0 Reputation points
2024-01-09T18:11:55.0033333+00:00

Hi,

We have a SCOM2012 server and want to migrate to SCOM2016/2019. I will need to get an inventory of the monitored items and then verify which devices are monitored by SCOM for up/down purposes and/or then see which servers are being monitored for services and which templates are applied.

The goal is to reduce our SCOM footprint and ensure that our devices are monitored by our global monitoring tool and identify any gaps in our monitoring.

Does anyone have a TSQL script that will generate a report of monitored devices?

Thank you,

Raymond

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,481 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,790 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,637 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Marius Ene 335 Reputation points
    2024-01-11T23:24:09.4133333+00:00

    There is no such built in Report out of the box, you would need to create a custom SQL report to put together the information or extract it using PowerShell. The reason is of how SCOM is designed. Depending on what Management Pack you import, and depending on which class discoveries, monitors and rules are enabled that data might be different. As mentioned in my other post, have a look at MPViewer. And as others mentioned there is also the option to export what is the actual configuration on a particular class instance with the Export-SCOMEffectiveMonitoringConfiguration cmdlet.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.