In exercise 4, you saw how the service map expands to show each individual service in the service hierarchy. In exercise 5, this service map changed color to notify you of a problem in your managed environment. You used the map to identify the message that reported the problem, and then used a command contained in the message to solve the problem.

The default services in the service map are only a start. In this exercise you will add your own service to the service map. The new service will represent the functionality that your Notepad policy monitors; you will add it to the map to show the node on which it runs and the services on which it depends.

To add the service, you will use an HPOM component called the Service Editor. This component allows you to create service definitions, define how services in the service map are dependent on each other, and define rules that evaluate a service's severity based on the state of its contributing services. You can use the Service Editor to modify the status propagation so that it is tuned for your environment. You can also build on the SPI service map, using it as a building block in a larger hierarchy that you create.

  1. Right-click Services in the console tree then click ConfigurearrowServices.... Screenshot of select configure services.
  2. When the Service Editor appears, click ApplicationsScreenshot of click Applications service.
  3. Click Add Service...Screenshot of select add service.
  4. In the Add New Component Service tab, set the following parameters: Screenshot of add new component service.

    Service type = Application services
    Hosted On - Click Select Node to select your managed node.
    Display Name = Notepad
    Service ID = basic.training.service.id
  5. Click OK, click Apply to save your changes, and then close the Service Editor.
  6. Right-click Services and select ViewMapScreenshot of view map.
  7. Arrange the map so that you can see the Notepad service. Screenshot of view notepad service.