PUQ Mautic

15. Monitoring

Overview

PUQVPNCP provides comprehensive traffic monitoring:


Configuration

Navigate to Settings > Monitoring.

Traffic Logging

Monitoring config Monitoring configuration — traffic logging

Setting Description
Logging Enable iptables traffic logging via rsyslog
Log format Log format template

Remote Syslog

Remote syslog Remote syslog configuration

Forward traffic logs to a remote syslog server for centralized logging.

InfluxDB

InfluxDB config InfluxDB configuration

Setting Description
Enabled Enable InfluxDB export
URL InfluxDB server URL (e.g., https://idb01.example.com)
Token Authentication token
Organization InfluxDB organization
Bucket Target bucket

Metrics Endpoint

Metrics config Metrics endpoint configuration

Enable a Prometheus-compatible HTTP metrics endpoint at http://127.0.0.1:8098/metrics.


Monitoring Status

Monitoring status Monitoring services status

Shows the current state of all monitoring components:

After changing monitoring settings and clicking Save, the configuration is applied with a countdown:

Monitoring applying Applying monitoring configuration


Grafana Integration

Connect Grafana to your InfluxDB instance to create custom VPN dashboards.

Grafana dashboard Example Grafana dashboard with VPN traffic metrics

Available Metrics

Metric Description
client_download_bytes Per-client download traffic
client_upload_bytes Per-client upload traffic
network_download_bytes Per-network download traffic
network_upload_bytes Per-network upload traffic
online_wireguard WireGuard online peer count
online_openvpn OpenVPN connected session count
online_ikev2 IKEv2 active SA count


Revision #5
Created 28 September 2026 17:05:50 by Ruslan
Updated 28 September 2026 18:58:41 by Ruslan