- Real-Time Monitoring — Live health metrics for all domain controllers.
- Replication Status — Track AD replication between DCs.
- Alert System — Configurable alerts for DC health issues.
- LDAP Integration — Direct LDAP queries to Active Directory.
- Historical Data — Track health trends over time.
- Flask Dashboard — Lightweight Python web interface.
- Docker Support — Easy deployment with Docker.
git clone https://github.com/OneByJorah/DirWatch.git
cd DirWatch
pip install -r requirements.txt
python3 app.pyOpen http://localhost:5000 in your browser.
docker compose up -d| Variable | Default | Description |
|---|---|---|
LDAP_SERVER |
— | Domain controller hostname |
LDAP_BASE_DN |
— | Base DN for queries |
LDAP_BIND_DN |
— | Bind DN for authentication |
LDAP_PASSWORD |
— | LDAP password |
ALERT_EMAIL |
— | Email for alerts |
REFRESH_INTERVAL |
60 |
Monitoring refresh interval (seconds) |
Browser ──HTTP──▶ Flask App ──LDAP──▶ Active Directory
│
├──▶ Health Monitor
├──▶ Replication Checker
├──▶ Alert Engine
└──▶ SQLite (Historical Data)
DirWatch/
├── app.py # Flask application
├── monitor/
│ ├── __init__.py
│ ├── health.py # DC health monitoring
│ ├── replication.py # Replication status
│ └── alerts.py # Alert management
├── templates/ # HTML templates
├── static/ # CSS, JS
├── requirements.txt # Python dependencies
├── docker-compose.yml # Docker deployment
└── README.md
| Panel | Description |
|---|---|
| DC Overview | Status of all domain controllers |
| Replication | Inter-DC replication health |
| FSMO Roles | FSMO role holder status |
| Events | Recent AD events and errors |
| Trends | Historical health metrics |
Contributions are welcome. Please see CONTRIBUTING.md for guidelines and CODE_OF_CONDUCT.md for community standards.
For security concerns, see SECURITY.md. Please report vulnerabilities to info@jorahone.com — do not use public issues.
MIT © Jhonattan L. Jimenez
See CONTRIBUTING.md. All contributions follow the Code of Conduct.
Found a vulnerability? Please follow our Security Policy and report privately to security@jorahone.com.
MIT License © Jhonattan L. Jimenez (OneByJorah)
Built with 🌴 by OneByJorah · jorahone.com
