Tracking Monthly CMDB Health Trends Using Performance Analytics

kumar530
Tera Contributor

Hello Community,

 

We currently use the CMDB Health Dashboard available in CMDB Workspace, which provides a good view of the current health status of our CMDB.

However, we have a requirement to capture CMDB Health results on a monthly basis (for example, at the end of each month) so that we can maintain a historical record and visualize the evolution of CMDB Health over time.

Example

For all CIs:

  • September 1: Completeness 45%, Correctness 80%, Compliance 95%
  • October 1: Completeness 55%, Correctness 85%, Compliance 95%
  • November 1: Completeness 35%, Correctness 90%, Compliance 98%

The goal is to display these trends in a data visualization so that we can track improvements or declines in CMDB Health over time. PFA example charts.

In addition, I would like to capture and trend these health scores at different levels, such as:

  • Overall CMDB Health
  • CI Class (e.g., Business Applications, Hardware, Servers, etc.)
  • Health Groups

I am trying to achieve this using Performance Analytics Indicators and Data Visualizations, but so far, I have not found a way to collect and trend the CMDB Health scores historically.
FYI, we are not using core Ui (legacy) reporting in our instance, instead we have migrated to Platform Analytics.

 

Has anyone implemented a similar solution? If so, could you please share your approach, recommended tables, indicator sources, or any best practices?

Any guidance would be greatly appreciated.

 

Thank you in advance for your help.

 

Regards,
Rahul Kumar

 

#Platform Analytics forum #Performance Analytics #Indicators #CMDB Health

2 REPLIES 2

Rajesh_Singh
Kilo Sage

Hi @kumar530,

The CMDB Health dashboard shows the current results, so for history you need Platform Analytics to snapshot them every month. This is OOB configuration, no custom table needed.

The health group results are in CMDB Group Health Scorecards (cmdb_health_scorecard_group). It extends cmdb_health_scorecard, so it has score, metric, class, failed, total, status and evaluated_on, plus cmdb_group.

1. Create automated indicators on that table, one per KPI, with condition Metric = Completeness / Correctness / Compliance, and aggregate Average on score. For the overall CMDB figure, use the same on cmdb_health_scorecard.

2. Add breakdowns on class (CI class) and cmdb_group (health group).

3. Set the frequency to Monthly and add them to a data collection job that runs on the 1st, after the CMDB Health jobs have finished.

3619617_1.png

By doing this, you can build the trend you showed (Sep 45%, Oct 55%, Nov 35%) as a time series data visualization, per class or health group. PA keeps the collected scores, so the history stays even after the scorecards are recalculated. If you want a weighted percentage instead of an average of scores, make two Sum indicators on failed and total and a formula indicator on top.

History starts from the first collection, so start the job now. Creating your own indicators needs the Performance Analytics Premium entitlement.

CMDB Health: https://www.servicenow.com/docs/r/servicenow-platform/configuration-management-database-cmdb/c_CMDBH... 

Automated indicators: https://www.servicenow.com/docs/r/now-intelligence/performance-analytics/t_CreateAnAutomatedIndicato... 

If this helped, kindly mark it Helpful so others facing the same issue can refer to it.

vaishali231
Mega Sage

Hey @kumar530 

I would recommend using the OOTB CMDB Health framework and Performance Analytics to achieve this requirement.

 Approach:

  1. Identify OOTB CMDB Health Data: Explore the cmdb_health_scorecard table and related CMDB Health tables to understand how health scores are stored and whether historical data is available.
  2. Create Monthly Snapshots: If the required historical data is not retained, create a custom table (e.g., u_cmdb_health_history) to store monthly snapshots of Completeness Score, Correctness Score, Compliance Score, Overall Health Score, CI Class, Health Group and Snapshot Date.
  3. Automate Data Collection: Configure a Scheduled Script Execution to capture health scores monthly after the CMDB Health calculation jobs have completed.
  4. Configure Performance Analytics: Create PA indicators using the historical data, with appropriate breakdowns for CI Class and Health Groups.
  5. Create Platform Analytics Visualizations: Build time-series charts to track monthly trends across overall CMDB health, individual health metrics, CI classes and health groups.

Note: Reuse the OOTB CMDB Health calculation framework and avoid recreating the existing calculation logic. Maintain historical snapshots only where required and leverage Performance Analytics for trend analysis and Platform Analytics for visualization.

**********************************************************************************************************************************

If this response helps, please mark it as Accept as Solution and Helpful.

Doing so helps others in the community and encourages me to keep contributing.

Regards

Vaishali Singh
Linkedin - https://www.linkedin.com/in/vaishali-singh-2273361bb