12.4 Reconciliation

Assume you have correlated views to gain visibility into your environment. What is the next step? It might be useful to see what might not be integrated in the SCM tree. Use discovery tools to determine what is over or under managed.

Figure 12-2 illustrates a view which displays elements that are not integrated in the SCM tree:

Figure 12-2 Network View

12.4.1 Scenario Description: Show Critical Services (Outages) with No Matching Trouble Tickets

In this example, the goal is to build a view that shows critical services (outages) that do not have matching trouble tickets.

Using SCM, tickets are matched to the services by using a simple hostname match. Only those services without matches are included (an inverse match).

The resulting Services hierarchy shows all critical services without an associated trouble ticket.

This scenario uses:

  • A custom Data Integrator adapter that pulls in database information about IT services and the technology that supports them

  • A Remedy ARS adapter that provides trouble ticket information

To use SCM to identify service outages without an associated trouble ticket:

  1. Add an element that is the parent of the new tree.

    In this example, the Service Outages with NO Tickets element is created under the Problem Management element:

    Service Outages with NO Tickets Element in the Tree
  2. Right-click the element, then select Service Configuration > Create to open the Service Configuration Editor.

  3. To define the Structures for the element by identifying an existing hierarchy that drives the shape of the new tree, create a Structure definition that adds the Services element as a Structure Root, as shown in the illustration below.

    Services is a hierarchy created by a Data Integrator adapter that pulls in database information about IT services and the technology that supports them.

  4. To see all elements contained in the Services hierarchy, leave Starting Depth and Ending Depth at O.

    Only outages (elements that are down) without an associated trouble ticket should display.

  5. Define a Matching Rule that uses an expression (condition=CRITICAL) to replicate only those structure elements that have a CRITICAL condition level.

    Edit Match Dialog Box
  6. To define the Sources for the configuration by identifying an existing hierarchy that provides state and information to the new elements in the configuration, create a Source definition that adds the Business element as the Source Root.

    Business is a hierarchy from a Remedy ARS adapter integration. It provides trouble ticket information to the new configuration elements based on a join rule using a simple name match.

    Browse for Element Dialog Box
  7. To define Generation and Correlation policy rules to further define how the configuration is generated and elements are correlated:

    1. To use elements found in the Source tree to populate the new configuration tree, select the Display Source Elements As Children check box in Generation policies.

    2. To carry over state and properties from Structure elements, select the Create State Relationship to Structure Elements and Copy Properties from Structure Elements check boxes in Generation policies.

    3. To view service outages without tickets, we will want to specify that the configuration show only those services that do not have matching trouble tickets.

      For the Correlation policy, select the Inverse Match radio button to pick up only the elements without matching trouble tickets.

  8. (Optional) Define scripts to apply to configuration elements after generation.

    In the left pane, click Scripting, select the Enable Script check box, then enter the script directly in the text area provided.

    Because this configuration looks for service outages without associated trouble tickets, it could be very useful to then use the configuration to automatically generate a trouble ticket. In this scenario, we use the scripting feature to activate a script that dynamically creates a trouble ticket for services that do not have an existing trouble ticket as shown in the following illustration:

    Scripting Element in Definition Navigator Panel

    For information on scripting, see the Operations Center 5.6 Scripting Guide.

  9. Click Save to save configuration settings, then click Generate to generate the new tree.

    In this instance, elements displayed with state/condition are no longer considered outages after the configuration was generated.

    Service Outages with NO Tickets Element in the Tree
  10. After the configuration is run and results are verified, create a schedule for the generation of the service configuration on a routine basis.

    In this case, schedule the configuration to generate every 5 minutes, as it is critical to identify outages that are not being managed properly.

    For information on defining the schedule, see Section 8.3.9, STEP 9: Test and Generate the Configuration.

12.4.2 Scenario Description: Show Critical Hosts Only

A scenario similar to the previous one involves selecting specific information from multiple hosts in different geographic locations.

Assume there is a correlated list of hosts, as shown in Figure 12-3. Each host has the following folders:

  • Networking: Links to an adapter with networking alarm data

  • Performance: Links to an adapter with performance metric data

  • Trouble Tickets: Links to a trouble ticket system adapter

Figure 12-3 Correlated Hosts Hierarchy

Assume there is also a geographic correlation hierarchy that shows the hosts located in two different offices, Texas and Virginia, as shown in Figure 12-4:

Figure 12-4 Element hierarchy showing hosts in two office locations

Assume you want to create an element hierarchy named Critical Hosts, which shows only the hosts that have a CRITICAL condition. The hosts can be in either the Texas or Virginia office. The list changes over time, as host conditions change.

Using the previous scenario as a model, to create a configuration that shows only CRITICAL hosts:

  1. In the Explorer pane, add an element that is the parent of the new tree.

    In this example, the Critical Hosts element is created under the Services element.

  2. Right-click the element, then select Service Configuration > Create to open the Service Configuration Editor.

  3. To define the Structures for the element by identifying an existing hierarchy that drives the shape of the new tree:

    1. Create a Structure definition that adds the Offices element as a Structure Root.

    2. To display the elements contained in the Offices hierarchy, starting with the office location names, which are 1 level beneath the root, enter 1 in the Starting Depth field and leave Ending Depth at O.

    3. Because the new configuration should contain only those elements that are in a CRITICAL state, define a Matching Rule that uses an expression (condition=CRITICAL) to replicate only those structure elements that have a CRITICAL condition level.

      Edit Match Dialog Box
  4. To define the Sources for the configuration by identifying an existing hierarchy that provides state and information to the new elements in the configuration, create a Source definition that adds the Offices element as the Source Root.

    Offices is a hierarchy that lists hosts by office location. Use the default join rule for a simple name match.

  5. To define Generation and Correlation policy rules to further define how the configuration is generated and elements are correlated:

    1. To use elements found in the Source tree to populate the new configuration tree, select the Display Source Elements As Children check box in Generation policies.

    2. To carry over state and properties from Structure elements, select the Create State Relationship to Structure Elements and Copy Properties from Structure Elements check boxes in Generation policies.

    3. To display all elements that meet the Structures, Dependencies, and other Modeling Policies rules, leave Static Match > Correlation policy.

  6. Click Save to save configuration settings, then click Generate to generate the new tree.

    The following illustration shows the generated Critical Hosts hierarchy, which displays only those host elements with a conditon of CRITICAL, using the location structure of the existing Offices element hierarchy:

    Generated Hierarchy Displays CRITICAL Hosts Only
  7. Expand the hosts to identify the CRITICAL elements that contribute to the host condition.