TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

P11 - Monitor WMI Active Directory with PRTG

PRTG – How to Monitor Active Directory with WMI (Advanced Monitoring)

Active Directory is a mission-critical service in any enterprise infrastructure. When a Domain Controller becomes slow or unstable, authentication delays, login failures, replication problems, and service disruptions can occur without clear warning signs.

In this tutorial, you’ll learn how to implement WMI Active Directory monitoring using PRTG Network Monitor. Unlike basic SNMP monitoring, WMI provides deeper insight into Windows performance counters and core domain services.

This step-by-step guide explains how to collect detailed disk I/O metrics and monitor the most important Active Directory service — NTDS — using WMI sensors. With proper thresholds and alerts configured, IT administrators can detect AD performance issues before users are impacted.

WMI monitoring offers more granular visibility into Domain Controller health, making it ideal for production environments where reliability is critical.

Follow this guide to keep your Active Directory environment stable, responsive, and protected.


🛠 Step 1: Create a User on Active Directory

Before configuring WMI Active Directory monitoring, create a dedicated monitoring account in the domain.

User:

 
 
it01
 

This account will be used by PRTG to authenticate against the Domain Controller.


🔐 Step 2: Enable Windows Credentials in PRTG

WMI requires proper Windows authentication and domain-level permissions.

Enabling Requirements:

  • The PRTG machine must join the domain.

  • The user used as credentials must belong to the Domain Admin group.

Without domain membership and proper privileges, WMI sensors will fail to collect data.

Configure the Windows credentials in PRTG under:

Device → Credentials for Windows Systems

Use:

  • Domain\User format

  • Password of it01

Once configured correctly, PRTG can communicate securely with the Domain Controller using WMI.


📊 Step 3: Add WMI Sensors for Active Directory

To properly implement WMI Active Directory monitoring, we will configure two critical sensors.


#1 WMI Logical Disk I/O

This sensor monitors disk latency on the Domain Controller.

Why is this important?

Active Directory database (ntds.dit) depends heavily on disk performance. High latency can cause:

  • Slow logins

  • Replication delays

  • Group Policy processing lag

  • Authentication timeout

Important Notes:

  • The PRTG machine must join the domain.

  • When PRTG asks for disk selection:

    • Select the drive containing NTDS / SYSVOL

Usually:

 
 
C:
 

or

 
 
D:
 

Do not select:

 
 
_Total
 

USED FOR ALERTS


Monitor These Channels:

  • Avg. Disk sec/Read (ms)

  • Avg. Disk sec/Write (ms)


Standard Thresholds for Domain Controller

Go to:

Channel Settings → Each channel (Read / Write) → Status Value

Set:

  • Warning > 30 ms

  • Error > 50 ms

These values help detect disk congestion before it becomes critical.

Healthy Domain Controllers typically maintain disk latency well below 20 ms under normal conditions.


#2 WMI Service Sensor

This sensor monitors the most important Active Directory service.

Service:

 
 
NTDS (Active Directory Domain Services)
 

Why NTDS Monitoring Is Critical

NTDS is the core of the Domain Controller.

It:

  • Contains users, groups, and computers

  • Authenticates domain logins

  • Stores AD database (ntds.dit)

If:

 
 
NTDS dead = Domain dead
 

Consequences:

  • Users cannot log in

  • GPO not applied

  • AD considered down

This is one of the most important services in Windows infrastructure.


Important Configuration

Do not start/restart the service (default):

NTDS should not auto-restart.

If NTDS stops, it indicates a serious issue that requires investigation.


Threshold Configuration

Set service status:

  • Running = OK

  • Stopped = Down (Error)

No warning level required.

The service should either be running or considered a critical failure.


🚨 Why WMI Monitoring Is Superior to SNMP for AD

While SNMP provides basic system statistics, WMI Active Directory monitoring offers:

  • Detailed disk performance metrics

  • Windows service state monitoring

  • Deeper integration with Windows OS

  • More accurate DC health analysis

For production environments, WMI provides more actionable insight compared to simple SNMP polling.


📈 Best Practices for WMI Active Directory Monitoring

To ensure reliable monitoring:

  • Always use a dedicated monitoring account

  • Avoid using built-in Administrator for security reasons

  • Monitor disk I/O on NTDS storage

  • Monitor NTDS service state

  • Test alert notifications regularly

  • Combine WMI with Ping and CPU monitoring

Monitoring should be proactive, not reactive.


🎯 Final Thoughts

You have now successfully implemented WMI Active Directory monitoring using PRTG.

By:

  • Creating a domain monitoring user

  • Configuring Windows credentials properly

  • Adding WMI Logical Disk I/O sensor

  • Monitoring NTDS service status

  • Setting accurate warning and error thresholds

You now have deeper visibility into Domain Controller health.

This monitoring approach allows you to detect disk latency issues, service failures, and authentication risks before they affect users.

In enterprise environments, early detection is the key to preventing downtime.

With WMI-based monitoring in place, your Active Directory infrastructure is better protected, more transparent, and significantly more reliable.

See also related articles

P3 – Powerful Guide 2026 Monitor WAN IP with PRTG

P3 – Powerful Guide 2026 Monitor WAN IP with PRTG PRTG – P3 Monitor Internet & WAN IP Using PRTG Network Monitor Monitoring your Internet connection is critical for any business infrastructure. If your WAN connection goes down, services such as email, VPN, remote access, and cloud applications become unavailable...

Read More

P2 – Secure PRTG Fast: Change Port PRTG & Enable SSL

P2 – Secure PRTG Fast: Change Port PRTG & Enable SSL PRTG – P2 Secure PRTG with SSL | Enable HTTPS & Change Default Port Securing your monitoring system is not optional — it is essential. In this guide, we will walk through how to secure PRTG Network Monitor by...

Read More

P1 – Complete Install PRTG Guide for Windows 10

PRTG – P1 How to Install PRTG on Windows 10 | Initial Setup & Configuration 🚀 Install PRTG on Windows 10 – Initial Setup & Configuration (P1) If you are starting your monitoring journey, learning how to Install PRTG properly is the first critical step. In this tutorial, I will...

Read More