Add custom domain monitoring and update documentation

This commit is contained in:
Space-Banane
2026-03-12 16:09:56 +01:00
parent d340d60b52
commit 8045da2dbe
3 changed files with 68 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ Adguard Monitor is designed for openclaw, which should usually NEVER make a requ
- **Multi-Client Support**: Monitor specific IP addresses and receive nicknamed notifications (e.g., "BLOCKED: My Laptop").
- **Strict Configuration**: Fails fast if environment variables are missing.
- **Home Assistant Notifications**: Native mobile push messages for blocked queries.
- **Custom Domain Monitoring**: Monitor specific domains using [list.txt](list.txt) (wildcards supported).
- **Structured Logging**: UTF-8 encoded logging for unicode emoji support.
## Setup
@@ -24,7 +25,15 @@ Adguard Monitor is designed for openclaw, which should usually NEVER make a requ
```bash
cp .env.example .env
```
4. **Run the monitor**:
4. **Custom Domains (Optional)**:
Copy [list.example.txt](list.example.txt) to `list.txt` and add domains:
```bash
cp list.example.txt list.txt
```
- Lines starting with `!` are **negative filters** (they will be ignored).
- Wildcards like `*.example.com` are supported.
5. **Run the monitor**:
```bash
python monitor.py --interval 15
```