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.
Classic Windows services feature is deprecated, use OS services monitoring instead.
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.
Suppose you have the following:
If you configured the following:
You would monitor the following:
To monitor an OS service
Determine the service name. Be sure to use the exact OS-provided service name, because this is how Dynatrace identifies your service.
In Windows, open Services and find the service.
Check the service properties. In this example, we display the properties of Windows License Manager Service to see that the Windows service name is LicenseManager
.
In Dynatrace, go to OS service monitoring for the level you are configuring.
Operating system
(Windows).Operating system
(Windows).Host group
and start typing the name of a host group to find and select a host group name.Go to Settings > Monitoring > OS services monitoring.
On OS service monitoring for the level you are configuring, select Add new service and specify the service you want to monitor.
Select Save changes.
To manage the OS services you monitor
In Dynatrace, go to OS service monitoring for the level you are configuring.
Operating system
(Windows).Operating system
(Windows).Host group
and start typing the name of a host group to find and select a host group name.Go to Settings > Monitoring > OS services monitoring.
The OS services you monitor are displayed in a table under the Add new service button.
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:
See Metric events for alerting for details on creating and customizing metric events for alerting.
You can use the Settings API to configure your service availability monitoring at scale.
builtin:os.services.monitoring
as the schemaId.builtin:os.services.monitoring
schema, create your configuration object.