Gatherer: aggregate several sessions of one user under the account
Session key uses the OpenVPN Client ID (survives float), one usage_history row per user per tick, summed speeds in the API, last_bytes/real_address per account, migration 2 (active_sessions.session_id). Also throttles the "status file missing" log and reports recovery. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ad6995bb63
commit
7d6f44c965
11 files changed
+287
-57
No files matched your search
@@ -13,6 +13,7 @@ The **Core Monitoring** module provides the backend logic for collecting, extrac
|
||||
- A background service/daemon.
|
||||
- Parses OpenVPN server logs (`status.log`).
|
||||
- Aggregates bandwidth usage into time-series tables (`usage_history`, `stats_hourly`, etc.).
|
||||
- Several simultaneous sessions of one user (`duplicate-cn`) are one record: traffic, speed and history are summed per common name; a session is identified by `Client ID` (see `DOCS/Core_Monitoring/Data_Architecture.md`).
|
||||
|
||||
## Configuration
|
||||
|
||||
|
||||
Reference in new issue
Block a user