← All dashboards

Wireguard + WireRest (JVM)

Dashboard for monitoring Wireguard and WireRest API

This is a dashboard that will allow you to view:

  • Number of peers
  • How many peers are created in a period of time
  • How many peers are removed per time interval
  • How many free / total IP addresses (v4) in the interface that wireguard uses
  • How much traffic wireguard clients spend
  • WireRest API statistics

How to install:

  1. Install WireRest on your server (the same one running Wireguard) GUIDE

  2. Connect Prometheus to your WireRest

Example

yaml
  - job_name: 'wirerest-demo'
    scrape_interval: 5s
    metrics_path: '/actuator/prometheus'
    authorization:
        credentials_file: '/PATH/TO/FILE/WITH/ACCESS_TOKEN'
    static_configs:
      - targets: ['WIREREST_URL:8081']


Do not forget create file with access token or disable it. The file must be accessible by the user prometheus. Default token is “admin” About token
You can check the availability of WireRest as follows: curl http://127.0.0.1:8081/actuator/prometheus?token=<YOUR_TOKEN>

  1. Install dashboard

Done!

if you find bugs or have a suggestion for improvement, please write about it in Github issue

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 26