Create a Discovery process classification

A process classification allows Discovery to create a particular CI type from information gathered during the identification and exploration phases.

About this task

When a process matches the classification criteria, Discovery uses the process classification record to create a CI. You can also have Discovery update existing CIs or ignore certain processes by creating a process handler.

Procedure

  1. Navigate to Discovery Definition > CI Classification > Process.
  2. Click New.
  3. Enter the classification fields (see table).
    Table 1. Classification fields
    Field Input value
    Table Select the table where this classification generates CI records. This table must be an extension of the Computer [cmdb_ci_computer] table such as Applications [cmdb_ci_appl].
    Relation type Select the CI relationship type for this classification. The relationship field is only available for Process and Scan Application classifications.

    Discovery process classifications typically use one of these relationship types:

    • Runs on::Runs: Defines the relationship of an application to the host on which it runs. This relationship is expressed from the perspective of the host and the application. For example: My database application runs on server001::server001 runs my database application.
    • Depends on::Used by: Defines the relationship of an application that communicates with another application. This relationship is expressed from the perspective of each application. For example: The Tomcat application depends on the MySQL database:: The MySQL database is used by Tomcat.
    • Virtualized by::Virtualizes: Defines the relationship of a virtual machine to its host. This relationship is expressed from the perspective of the virtual machine and of the host. For example: server001 is virtualized by Server ESX::Server ESX virtualizes server001.
    Active Select this option to enable the process classification record. Only active process classifications can create application CI records.
    Order Enter the order in which Discovery should run this process classification when there are multiple classifications available for a table. Discovery runs process classifications from the lowest to highest order.
    Test with Lists the host CI where an automatically generated process classification conditions were met. Use this field to test changes to the process classification to ensure that the updated classification behaves as expected.
    Condition Use the condition builder to create the match and classification criteria for the process classification. This field replaces both the Match criteria field and Classification Criteria related list. The upgrade process converts all existing classification criteria into conditions.
    On classification script Enter a script to run when the condition and classification criteria are met. Use this script to perform any special tasks after a device is classified. It is possible to use the g_probe_parameters hashmap from within a classification script to set probe parameters for any configured, triggered probes. For example, this code sets a 'node_port' parameter to 16001 for all triggered probes.
    g_probe_parameters['node_port'] = 16001;
    Triggers probes Select the exploration probes you want Discovery to launch. These probes gather detailed information about a classified CI. Discovery will not launch these probes if it is configured to stop after classification. If you want to use patterns for horizontal discovery, add the Horizontal Pattern probe in the Probe column, and then specify your pattern in the Pattern column.
    Warning: Do not specify your pattern in Probe column. You must chose the Horizontal Pattern probe, which launches the specified pattern.
    Applications Use this related list to view the application CIs that match this process classification.
    Test results Use this related list to view the how Discovery classifies processes on the Test with host and build better classification conditions.
    Parameters Use this related list to view the parameters associated with this process and build better classification conditions.
    Versions Use this related list to view previous versions of the process classification record.
  4. Right-click the header bar and click Save.
  5. Enter items from related lists.
  6. Click Update.

Example

Figure 1. An example process classification record