Skip to main content
Version: 1.12.1

Extend CMDB with Classes and Models

tip

Role required: cmdb_admin.

The CMDB extension feature enables you to manage CIs: Add classes of CIs and equipment models specific to these classes to your CMDB structure. You can add special attributes to classes and models to define up-to-date information about assets and equipment.

A CI class is a logical combination of configuration items into groups based on similar purposes and equipment characteristics. A class can have child classes. A class is a Record Extended Model (REM) that includes collections of attributes defined at the class level and derived from the class hierarchy. There are two types of attributes that can be set for classes: editable and non-editable. Editable attributes are set at the class level and can take individual values ​​for each class CI. Non-editable attributes are set at the level of the CI configuration model and do not change until the model itself changes.

A configuration model is a composite template of filled and non-editable attribute values ​​that are specific to certain CIs of the same class. The configuration model can be applied to various categories of CI, such as hardware and devices, software, and so on.

A configuration item is a component or a service asset that must be managed to provide the IT service. When using the extended CMDB structure, CIs always belong to a specific class and can have a related hardware model.

The picture below illustrates the CMDB structure.

Add a new CMDB class


Classes are logical combinations of CIs with similar functions, parameters, and characteristics. Class attributes are the collections of the Record Extended Model (REM) attributes for the Configuration Items (sys_cmdb_ci) table.

  • One of the collections contains non-editable attributes − static for all CIs of a specific class.
  • The other collection contains editable attributes, which can be changed during the CI exploitation.
note

Download and import a demo .SOP file of the classes on your instance to try the functionality.

To add a new class, perform the following steps:

  1. Navigate CMDB → CMDB Class.
  2. Click New and fill in the fields.
  3. Click Save or Save and exit to apply the changes.

CMDB Class form fields

FieldMandatoryDescription
NameYSpecify a name for the CMDB class.
DescriptionNAdd a detailed description of the class.
Parent CMDB classNDefine a parent class for this class. Select a class that is higher in the hierarchy or is not in the hierarchy.
IconNAttach an icon for the class.

After the class record is saved, two actions become available on the form:

  • Create model attribute – opens a window where you can create non-editable model attributes. Model attributes of a parent class are inherited by its child classes. Attribute values are set on the model form.
  • Create CI attribute – opens a window where you can create editable CI attributes. These attributes will be displayed only on the CI form and will be available for editing.

The created model attribute/CI attribute will appear on the Model Attributes/CI Attributes tab in the Related Lists area. In this area, you can also see models, CIs, and child classes related to the record.

Attribute form fields

FieldMandatoryDescription
Attribute typeYSpecify an attribute type.
TitleYSpecify a title for the attribute.
ActiveNSelect the checkbox to activate the attribute.
MandatoryNSelect the checkbox to make the attribute field mandatory.
ReferenceYSpecify a table with the values you need.
The field appears when the List or Reference option is specified in the Attribute type field.
Default valueNDefine the default value for the attribute.
Reference qualifier typeNSpecify the type of the reference qualifier. Available options:
  • Simple
  • Dynamic
The field appears when the List or Reference option is specified in the Attribute type field.
Reference qualifier conditionNConfigure the filter using the condition builder.
The field appears when the Simple option is specified in the Reference qualifier type field.
Dynamic reference qualifierNSelect the dynamic reference qualifier from the list.
The field appears when the Dynamic option is specified in the Reference qualifier type field.
Reference qualifier fixedNSelect the checkbox to fix filters in the breadcrumbs. When the checkbox is selected, the condition builder is blocked.
The field appears when the List or Reference option is specified in the Attribute type field.
Choice tableNSelect a table with the required choice options.
The field appears when the Choice option is specified in the Attribute type field.
Choice fieldYSelect a column of Choice table that contains the required choice options.
Choice typeYDefine whether the None option is applicable for the field. Available options:
  • Dropdown with --None--
  • Dropdown without --None-- (specify a default value)
If the Dropdown without --None-- is chosen, the Default value field becomes mandatory.
The field appears when the Choice option is specified in the Attribute type field.
Extra attributesNSpecify additional configurations for the field.
For example, enter the text below to apply the radio buttons style to the choice field: choice_decorator=radio
The field appears when the Choice option is specified in the Attribute type field.
Maximum lengthNSpecify a maximum value length for the column. The value length cannot exceed the allowed length for the specified data type.
The field appears when the String, Text, or URL option is specified in the Attribute type field.
caution
  • If you decide to create an attribute record via the form of the Attributes (sys_re_attribute) table, keep in mind that the form view should be the Default one.
  • If you need to set up choice options for a created attribute, go to the attribute record and create choice options in the Related Lists area.

Add a new CMDB model


Models are compound templates of CI parameters. They define specific CIs features. Each class has a list of models.

For CMDB models, the Record Extended Model (REM) is used. Attribute values of the REM are model parameters. Models include all non-editable attributes of collections from all class levels. The base values of model parameters are the default values of attribute collections and their constituents.

To create a model, complete the steps below:

  1. Navigate CMDB → CMDB Model.
  2. Click New and fill in the fields.
  3. Click Save or Save and exit to apply the changes.

After the model record is created, its display name consists of the Vendor + Identifier values.

CMDB Model form fields

FieldMandatoryDescription
ClassYDefine a class for the model. When the class is specified, the Technical Details section appears with class attributes.
The class cannot be changed after saving.
IdentifierYSpecify the identifier of the model.
DescriptionNAdd a detailed description of the model.
IconNAttach an icon for the model.
VendorYSpecify the manufacturer of the model.
ActiveNSelect the checkbox to activate the model.

Technical Details section contains model attributes that are created at the CMDB class level.

In the Related Lists area, the CI tab displays all CIs related to the created model record.

Create a CI


You can create, identify, configure, and manage your CIs and their parameters with the records in the Configuration Items (sys_cmdb_ci) table. These records contain detailed information such as the CI type, set of attributes with their values, and lists with the related records.

To add a new configuration item, complete the steps below:

  1. Navigate to CMDB → Configuration Items.
  2. Click New and fill in the fields.
  3. Click Save or Save and exit to apply the changes.

After the CI record is created, its display name consists of the CI number and the name of the related model.

Configuration item form fields

FieldMandatoryDescription
ClassYSpecify the class of the CI. When the class is specified, the Specification section with class attributes appears below the fields.
The class cannot be changed after saving.
ModelNSelect an active CI model. When the model is specified, the Model section with model attributes appears below the fields.
StateNSpecify the state of the CI. It defines the possibility to use the CI. Available options:
  • Active
  • Inactive
Operational stateNDetermine the CI availability. Available options:
  • Available − a proper CI is provided.
  • Degraded − the quality of CI does not correspond to the requirements.
  • Unavailable − the CI is unavailable.
  • Maintenance − the CI is not available due to maintenance activities.
DescriptionNAdd a detailed description of the CI.
IconNThis field appears after the form is saved if the model is specified. The icon is attached automatically from the model record.
OwnerNDefine the user who owns the CI.
GroupNDefine the group of users who own the CI.

The Specification section contains editable CI attributes. Attribute values are set at the level of the CMDB class. The Model section contains non-editable CI attributes. Attribute values are set at the level of the CMDB model.