Get metrics from Microsoft Active Directory to visualize and monitor its performances.
Minimum Agent version: 6.0.0
The Agent's Active Directory check is included in the Datadog Agent package, so you don't need to install anything else on your servers.
If installing the Datadog Agent on a domain environment, see the installation requirements for the Agent
-
Edit the
active_directory.d/conf.yamlfile, in theconf.d/folder at the root of your Agent's configuration directory to start collecting your Active Directory performance data. The default setup should already collect metrics for the localhost. See the sample active_directory.d/conf.yaml for all available configuration options.
Note: Use version 4.4.0 or later of this check to collect the latest metrics.
Datadog recommends enabling the Windows Services integration to also monitor the state of the Active Directory services.
Example configuration:
instances:
- services:
- ntds
- netlogon
- dhcp
- dfsr
- adws
- kdcNote: The Datadog Agent might not have access to all the services (e.g. NTDS). See Service permissions for more information to grant access.
Run the Agent's status subcommand and look for active_directory under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The integration collects metrics from the following Windows performance objects:
- NTDS: Core Active Directory metrics including replication, LDAP operations, and directory service threads
- Netlogon: Authentication performance metrics including semaphore statistics for monitoring authentication bottlenecks
- Security System-Wide Statistics: Authentication protocol usage metrics (NTLM vs Kerberos)
- DHCP Server: DHCP failover and binding update metrics (when DHCP Server role is installed)
- DFS Replicated Folders: DFS replication health, conflicts, and staging metrics (when DFSR role is installed)
- Note: Metrics are tagged with
instancecontaining the DFS replication group name
- Note: Metrics are tagged with
The Netlogon metrics help monitor authentication performance and identify bottlenecks in domain controller authentication processing:
active_directory.netlogon.semaphore_waiters: Number of threads waiting for the authentication semaphoreactive_directory.netlogon.semaphore_holders: Number of threads currently holding the semaphoreactive_directory.netlogon.semaphore_acquires: Total number of semaphore acquisitionsactive_directory.netlogon.semaphore_timeouts: Number of timeouts waiting for the semaphoreactive_directory.netlogon.semaphore_hold_time: Average time (in seconds) the semaphore is held
These metrics are particularly useful for monitoring authentication load from network access control (NAC) devices, Wi-Fi authentication, and other authentication-heavy scenarios.
The Netlogon and Security metrics help address several monitoring scenarios:
- Monitor authentication bottlenecks: Identify when authentication requests are queuing up, particularly from Cisco ISE NAC devices or high-volume Wi-Fi authentication
- Track authentication processing times: Use
semaphore_hold_timeto determine if authentication is taking too long - Identify MaxConcurrentApi tuning needs: High
semaphore_waitersvalues indicate the need to adjust the MaxConcurrentApi registry setting - Monitor authentication protocol usage: Track the ratio of NTLM vs Kerberos authentications to ensure proper protocol usage
- Detect authentication timeouts and failures: Rising
semaphore_timeoutsindicate authentication infrastructure issues
The Active Directory check does not include any events.
Need help? Contact Datadog support.