Windows services availability

Dynatrace provides out-of-the-box availability monitoring of Windows services. Define a service you want to monitor based on its name and manage the scope of your monitoring.

Define a monitored service

To monitor a Windows service

  1. In Windows, determine the Windows service name: open Services, find the service, and check its properties. Be sure to use the exact Windows-provided service name, because this is how Dynatrace identifies your service. In this example, we display the properties of Windows License Manager Service to see that the Windows service name is LicenseManager.

  2. You can narrow Windows service availability monitoring to a single host or a host group.


    Note that a host-level configuration takes precedence over a host-group-level configuration, and a host-group-level configuration takes precedence over an environment-level configuration. After update, any previous configuration is moved to the host-group level, and that host-group-level configuration takes precedence over your environment-level configuration.

    • A host-level configuration takes precedence over a configuration at the host group or environment level.

    • A host-group-level configuration takes precedence over a configuration at the environment level (and is overridden by a host-level configuration).

    • The environment-level configuration can be overridden by a host or host-group configuration.

  3. Select Add new service and define the Windows service you want to monitor.

    • Service name is the exact Windows service name as determined in step 1.
    • Display name is how the service will be presented in the Dynatrace web UI and in alerts. It can be the same as the display name used by Windows or you can make up a name more useful to you.
  4. Select Save changes.

Custom events for alerting on Windows service availability

After you add a Windows service, you can create a custom event for your Windows service availability 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 Windows services availability monitoring at scale.

  1. To learn the schema for your Windows services availability configuration, use GET a schema with as the schemaId.
  2. Based on the schema, create your configuration object.
  3. To create your configuration, use POST an object.