OS service monitoring

Dynatrace provides out-of-the-box availability monitoring of Windows services.

To monitor the availability of a service, specify the Service name and Display name. To simplify management in a large-scale environment, adjust settings on the host-group level.

Changes to OS service monitoring

In Dynatrace versions 1.214-1.218, Windows service availability monitoring configuration at the host level took precedence over the host group configuration, which in turn took precedence over the environment configuration. In Dynatrace version 219+, this is no longer the case. Configurations at the environment, host group, and host level are combined as described below.

You can configure service monitoring at the environment, host group, and host levels. Service monitoring is a combination of the settings you make at any of the three levels.

Monitor a service

To monitor an OS service

  1. Determine the service name. Be sure to use the exact OS-provided service name, because this is how Dynatrace identifies your service.

  2. In Dynatrace, go to OS service monitoring for the level you are configuring.

  3. On OS service monitoring for the level you are configuring, select Add new service and specify the service you want to monitor.

    • Service name is the exact service name as determined in step 1.
    • Display name is the freeform label that will be displayed in the table of monitored services.
  4. Select Save changes.

Manage monitored OS services

To manage the OS services you monitor

  1. In Dynatrace, go to OS service monitoring for the level you are configuring.

  2. The OS services you monitor are displayed in a table under the Add new service button.

    • To filter the table, type a search string in the Filter items… box
    • To stop monitoring a listed service, turn the Enabled setting off.
    • To delete a service from the table, select the delete button in the Delete column
    • To view and edit details, select the expand control in the Details column. You can change the service name or edit the display name.

Custom events for alerting on service availability

After you add a service, you can create a custom event for the availability of your service based on the OS Service availability metric.

Provide the following information:

  • Category - Hosts
  • Metric - OS Service availability
  • Aggregation - Average
  • Dimension - Service name of your choice

See Metric events for alerting for details on creating and customizing metric events for alerting.

Configure at scale using Settings API

You can use the Settings API to configure your service availability monitoring at scale.

  1. To learn the schema, use GET a schema with builtin:os.services.monitoring as the schemaId.
  2. Based on the builtin:os.services.monitoring schema, create your configuration object.
  3. To create your configuration, use POST an object.