Xitoring Document
Home
FAQ
Support
Register
Home
FAQ
Support
Register
  • Xitoring

    • Introduction
    • Release Notes
    • Xitoring Release Notes
    • Linux Xitogent Release Notes
    • Windows Xitogent Release Notes
    • Xitoring Mobile App Release Notes
    • Account Management
    • API Access & Automation
    • Team Management & Collaboration
    • Billing & Subscription Management
  • Getting Started

    • Getting Started with Xitoring
    • Workflows & Guides
    • Monitor Your First Server
    • Import / Migration
    • Migrate from UptimeRobot to Xitoring
    • Migrate from Pingdom to Xitoring
    • Migrate from Uptime.com to Xitoring
    • Migrate from BetterStack to Xitoring
  • Help & Support

    • FAQ & Troubleshooting
    • Glossary
  • Server Monitoring

    • Server Monitoring
    • Graphs
    • Live Statistics
    • Monitor Services
    • Auto-Triggers
  • Xitogent on Linux

    • Install Xitogent on Linux
    • Update Xitogent on Linux
    • Uninstall Xitogent on Linux
  • Xitogent on Windows

    • Install Xitogent on Windows
    • Uninstall Xitogent on Windows
    • Xitogent Service
    • Update Xitogent on Windows
    • Disk Performance (I/O)
  • Xitogent on Azure

    • Xitogent on Azure
    • Monitor Azure Linux VM
    • Monitor Azure Windows VM
  • Xitogent CLI

    • Xitogent CLI
    • Xitogent Pause/Unpause
    • Xitogent Status
    • Xitogent debug
    • Xitogent Diagnosis
    • Which data we collect
  • Xitoring CLI

    • Xitoring CLI
  • Uptime Monitoring

    • What is Uptime Monitoring
    • Monitoring Nodes (Geographic Locations)
    • What is Check
    • Auto-Discovery
    • Auto Fault Tolerance
    • Heartbeat Check
    • Ping Check
    • HTTP(S) Check
    • DNS Check
    • FTP Check
    • SMTP Check
    • IMAP Check
    • POP3 Check
    • TCP Check
    • UDP Check
  • SSL Monitoring

    • SSL Monitoring
  • Incidents

    • Incidents
    • Incident's Root Cause
    • Incidents Notification
    • Incident Notes
    • Resolving Incidents Manually
    • Incident Policy
  • Maintenance Schedule

    • Maintenance Schedule
  • Email Reports

    • Email Reports
  • Integrations

    • Integrations
    • Apache Integration
    • CoreDNS Integration
    • CouchDB Integration
    • Disk Health Integration
    • Docker Integration
    • Dovecot Integration
    • Exim Integration
    • HAProxy Integration
    • IIS Integration
    • InfluxDB Integration
    • Kafka Integration
    • KeyDB Integration
    • LiteSpeed Integration
    • MongoDB Integration
    • MySQL Integration
    • Netstat Integration
    • Nginx Integration
    • OpenLiteSpeed Integration
    • OpenVPN Integration
    • PHP-FPM Integration
    • Postfix Integration
    • PostgreSQL Integration
    • RabbitMQ integration
    • Redis Integration
    • MS SQL Server Integration
    • Supervisor Integration
    • Varnish Integration
    • Wireguard Integration
  • Notifications

    • Notifications
    • Creating Notification Roles
    • Email Integration
    • Mobile Push Notifications
    • SMS Integration
    • Phone call Integration
    • Webhook Integration
    • Integration for Slack
    • Telegram Integration
    • WhatsApp Integration
    • Mattermost Integration
    • Discord Integration
    • Google Chat Integration
    • Microsoft Teams Integration
    • Atlassian Opsgenie Integration
    • Splunk On-Call Integration
    • Pushover Integration
    • Pushbullet Integration
    • Gotify Integration
    • Ntfy Integration
    • Spike.sh Integration
    • PagerDuty Integration
    • Zapier Integration
    • AlertOps Integration
  • Status Page

    • Status page
  • 3rd Party Status Pages

    • Using 3rd party Status Pages
    • Atlassian Status Page Integration with Xitoring
    • Status.io Integration with Xitoring
    • Statuspal Integration with Xitoring
    • Instatus Integration with Xitoring
  • Dashboards

    • Main Dashboard
    • Custom Dashboards
  • Metrics

    • Metrics
  • MCP Server

    • Setup & Tool Reference

Wireguard Integration

Wireguard is a modern, fast, and secure VPN solution. Xitogent integrates with Wireguard by periodically collecting its stats to get key metrics directly from the Wireguard kernel interface.

1. Prepare Wireguard for metrics collection

Wireguard exposes its operational data through the wg show command. Xitogent will execute this command to gather metrics. The wg command-line utility is typically installed alongside Wireguard. Verify its presence and functionality:

wg show

This command should output information about your Wireguard interfaces and peers, similar to this:

interface: wg0
  public key: <server_public_key>
  private key: (hidden)
  listening port: 51820

peer: <client_public_key_1>
  endpoint: 192.0.2.1:51820
  allowed ips: 10.0.0.2/32
  latest handshake: 1 minute, 2 seconds ago
  transfer: 1.2 MiB received, 800 KiB sent

peer: <client_public_key_2>
  endpoint: 192.0.2.2:51820
  allowed ips: 10.0.0.3/32
  latest handshake: 30 seconds ago
  transfer: 500 KiB received, 300 KiB sent

2. Enable Wireguard integration in Xitogent

Run:

xitogent integrate

Select Wireguard. Xitogent will create /etc/xitogent/integrations/wireguard_integration.conf.

3. Metrics collected

Xitogent parses the output of wg show to collect the following metrics:

MetricTypeDescription
peer_countGaugeCurrent number of active Wireguard peers (based on latest handshake).
rx_bytes_per_secGaugeInstantaneous receive throughput (bytes/s) for the interface.
tx_bytes_per_secGaugeInstantaneous transmit throughput (bytes/s) for the interface.
clients.*.rx_bytes_per_secGaugePer-client receive rate.
clients.*.tx_bytes_per_secGaugePer-client transmit rate.
clients.*.latest_handshakeGaugeTime in seconds since the last successful handshake with the client.

4. Setup Triggers for Wireguard integration

Use-caseConditionSeverity
Client surgeconnected_clients > 200 for 5 minWARNING
High bandwidthrx_bytes_per_sec > 50 MB/s for 2 minMAJOR
Stale handshakeclients.*.latest_handshake > 300 for 1 minWARNING

5. Next steps

  • Combine Wireguard metrics with PING/TCP checks to monitor uplink quality.
  • Build dashboards that chart bandwidth trends against connected client counts during peak hours.
Last Updated: 9/18/25, 8:00 AM
Prev
Varnish Integration