OBLYTECH Logo
OBLYTECH Logo

Data Foundations advisor: setup, scope and principal classes

The Data Foundations advisor tracks data quality for the configuration items your teams rely on. The classes you choose for it are principal classes, and together they form the advisor scope. Setup runs automatically at install or upgrade when eligible, or can be done by hand.

What the advisor scope controls

The scope is the list of CI classes the advisor measures. Configuration items outside that list stay in the CMDB, but the dashboard reports on the classes in scope. You can add or remove whole class groups, or narrow a group down to the classes that matter for your incidents, problems and changes. For the underlying class model, see the CMDB class explainer.

Principal classes also do a second job. Once a class is marked principal, the platform can limit the Configuration Item picker on incident, problem and change forms to CIs in principal classes, for the task tables listed in the com.snc.task.principal_class_filter property. The default configuration allows up to 200 principal classes.

Setting up the scope and managing principal classes require the sn_cmdb_admin role.

Auto-setup and manual setup

When CMDB success advisor is installed or upgraded, a scheduled job called CMDB Advisor – Auto Setup configures the Data Foundations dashboard, applies the recommended scope and starts the first data collection. For background on scheduled jobs in general, see the scheduled job explainer.

Auto-setup runs when all four of these conditions are met:

Condition What it means for your instance
No existing Data Foundations dashboard An instance that already has one is left alone
Fewer than 5 million CIs Larger CMDBs fall outside auto-setup
No more than 200 principal classes already marked Existing selections must fit inside the 200-class limit
Principal class filter property empty, or at least one principal class exists The task filter must be unset or already in use

The scope depends on what the instance already holds. If no principal classes exist, the top five recommended classes become the scope, ranked by recent incident, problem and change (IPC) activity. If principal classes already exist, they form the scope up to the 200-class limit, and no recommendations are added to top up the count.

After auto-setup, data collection runs monthly and switches to daily once the dashboard is first opened. Users with the sn_cmdb_admin role receive a notification when collection completes. A badge on the Data Foundations card shows how many classes auto-setup selected, and it disappears once the scope is edited by hand.

If the eligibility conditions are not met, configure the dashboard manually. The manual route uses the same dialog described below.

How recommended principal classes are ranked

CMDB success advisor reads your instance’s own history before suggesting classes. Each candidate gets a weighted score built from its IPC activity, CI count and category, with IPC and CI count measured over the same suggestion period, which defaults to 180 days. Server and Cloud classes score highest by category; Services and offerings and Enterprise architecture classes score lowest.

IPC activity carries the heaviest weight when any candidate recorded activity in that window. Without IPC activity, the score uses category and CI count alone. Scores are recalculated monthly, so a recent change may take until the next run to appear in Recommended additions.

Four system properties shape the principal class setup. Adjusting them requires the sn_cmdb_admin role; creating the principal_class_recommendation_criteria property requires the admin role.

Property Default What it controls
sn_cmdb_advisor.principal_class_suggestion_period 180 days How far back task history is scanned for suggestions
sn_cmdb_advisor.suggested_principal_classes_limit 20 The maximum number of classes in Recommended additions
sn_cmdb_advisor.principal_class_others (no default listed) A comma-separated list of custom CI classes shown in the Others group
sn_cmdb_advisor.principal_class_recommendation_criteria Not created Set to the keyword PREDEFINED on an instance with no prior task activity, so a standard set of commonly managed classes appears

The last property does not exist out of the box and must be created manually, for instances where task-based recommendations come back empty.

Recommendations are guidance, not instructions, and you do not have to accept all of them. Recommendations are a starting point. Your organization’s priorities should drive the final scope, so a class with strong activity can still be left out.

If fewer than six classes qualify, the recommendation list is padded with five defaults: Computer, Server, Database, Cloud Database and Virtual Machine Instance. Padding stops at six recommendations or when the defaults run out. On an instance with no IPC activity, all five defaults are recommended.

Adjusting the scope in the Set principal classes dialog

Open the dashboard and select Manage principal classes. The dialog lists CI classes in technology groups, from AI systems, Cloud and Databases through Servers, Storage, Virtualization infrastructure and SaaS, with custom classes in the Others group. For the dashboard itself, see the dashboard explainer.

Goal Action in the dialog Result
Add a whole group Select the group check box All classes in the group are included
Add some classes in a group Expand the group with the arrow, then select individual classes The selected classes are included
Remove a whole group Clear the group check box All classes in the group are excluded
Remove some classes in a group Expand the group, then clear individual classes The cleared classes are excluded
Remove one selected class Select the X icon beside it in the Selected classes column The class leaves the scope
Find a class by name Type in the Search box Matches any non-excluded class in the CMDB, including classes missing from the group lists

When the task principal class filter property is set and your selection has an unsaved change, a check box appears under Review and confirm changes. Its label states how many classes you are adding and removing, and it warns of a possible effect on CI filtering for IPC task forms. Done stays disabled until you tick it, and changing the selection again clears the tick.

Selecting Done saves the scope. Dashboard metrics refresh with the daily CMDB Advisor – DF Daily Data Collection job, so a newly added class shows its data after the next run, not the moment you save.

Recommended removals

A Recommended removals group appears when a selected class matches the platform’s exclusion list. Clear its check box and select Done to drop it from the scope.

Changes made outside the advisor

The advisor keeps its own record of in-scope classes and does not follow principal class changes made elsewhere on the instance. A class marked principal through another tool is not added to the dashboard scope, and a class un-marked elsewhere stays in scope until someone removes it by hand. Common triggers include CI Class Manager, the principal class recommendations agent and direct instance edits.

Each time the dashboard opens, the advisor compares its scope with the CMDB’s principal class state. A discrepancy shows an info banner, and the dialog shows an inline alert whose Show more option lists the affected classes. Set the scope to the intended list and select Done to clear it. Making principal class changes inside the advisor from the start keeps the two records from drifting apart. If you also want the general CMDB health view, see the CMDB health dashboard.

Task form filtering and HAM-shared classes

If too few CIs appear in the CI field on incident or change forms, remove the affected task table from the com.snc.task.principal_class_filter system property. Clearing the Principal Class check box on CI classes is not the fix, because it turns off principal class filtering for that task type. For how the incident form itself is used, see the incident management page.

A class the HAM advisor is using cannot be edited in the Data Foundations scope, so remove it from the HAM advisor first. When both products are configured, the HAM scope is applied first.

HAM-derived principal classes

When HAM model categories are added to the HAM advisor, their CI classes are marked as principal classes. Those classes then count as principal classes in the CMDB, and the CI picker on incident, problem and change forms can filter to them, as described above.

Review the scope on the Data Foundations dashboard by selecting Manage principal classes, keeping the classes that fit, removing the rest and adding what is missing, up to the 200-class limit.

Frequently asked questions

Can I set up the Data Foundations advisor without auto-setup?

Yes. Auto-setup runs on install or upgrade when the eligibility conditions are met. If any of them fail, configure the dashboard manually and choose the principal classes in the Set principal classes dialog.

Why did auto-setup choose five classes?

When no principal classes existed before the job ran, auto-setup takes the top five recommended classes, ranked by recent incident, problem and change activity. If principal classes already existed, they become the scope instead.

I marked a class as principal in another tool, but it is missing from the dashboard. Why?

Setting a class as principal outside the advisor does not add it to the Data Foundations scope. Open Manage principal classes on the dashboard, add the class there and select Done.

Principal classes decide which configuration items the advisor watches, so review the scope whenever your priorities change, or when the dashboard shows an out-of-sync banner. To see how these classes fit into the wider service data model, read the CSDM implementation steps guide, or go back to the CMDB data quality and governance hub.

Why does a newly added class show no data straight away?

Dashboard metrics refresh with the daily CMDB Advisor – DF Daily Data Collection job, so a newly added class shows its data after the next run, not the moment you save.