[api] host = 0.0.0.0 port = 5001 debug = false # Set OVPMON_API_SECRET_KEY or this value; at least 32 characters, random (openssl rand -hex 32). There is no built-in default. secret_key = [openvpn_monitor] log_path = /var/log/openvpn/openvpn-status.log db_path = openvpn_monitor.db check_interval = 10 # Optional gatherer reliability settings (defaults shown) # ticks before a session missing from the status file is forgotten session_grace_ticks = 3 # status file older than this (TIME line) means OpenVPN is stopped, no clients status_stale_seconds = 60 # consecutive skipped ticks (bad/missing status file) before logging at ERROR status_invalid_max = 6 [logging] level = INFO log_file = openvpn_gatherer.log [retention] raw_retention_days = 7 agg_5m_retention_days = 14 agg_15m_retention_days = 28 agg_1h_retention_days = 90 agg_6h_retention_days = 180 agg_1d_retention_days = 365