Added a plugin to monitor wireguard peer statistics, see the example_graphs.
The plugin is a wildcard plugin but can also be used directly like wireguard_, in that case it just monitors all existing wireguard interfaces.
The plugin renders one graph that shows the peer count for each wireguard interface, And for each interface there is a graph that shows the traffic statistics of each peer.
A feature that could potentially be added in the future if there is sufficient interest, is a handshake timeout to mark a peer as disconnected. Cause afaik the only way to check if a peer is connected or not is by assuming its disconnect if the last handshake was 2+ minutes ago
Added a plugin to monitor wireguard peer statistics, see the example_graphs.
The plugin is a wildcard plugin but can also be used directly like
wireguard_
, in that case it just monitors all existing wireguard interfaces. The plugin renders one graph that shows the peer count for each wireguard interface, And for each interface there is a graph that shows the traffic statistics of each peer.A feature that could potentially be added in the future if there is sufficient interest, is a handshake timeout to mark a peer as disconnected. Cause afaik the only way to check if a peer is connected or not is by assuming its disconnect if the last handshake was 2+ minutes ago