Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
This plugin checks if one or more of Branch Office VPN Tunnels are active on a Watchguard device.
Current Version
1.0
Last Release Date
2022-03-17
Owner
Juan Granados
Website
https://github.com/juangranados/nagios-plugins
Download URL
https://github.com/juangranados/nagios-plugins/blob/master/check_wg_tunnels.sh
License
GPL
Compatible With
Usage: check_wg_tunnels.sh [options] # -h | --host: ip of device. # -t | --tunnels: list of tunnels to check. Array of pairs of gateways. ###### Syntax "localGwIP1-peerGwIP1 localGwIP2-peerGwIP2 localGwIPn-peerGwIPn" ###### Example: "80.24.56.73-90.123.124.34 100.234.45.47-90.12.45.123 123.234.43.65-65.234.56.78" # -v | --version: snmp version. Default 2. Depends on version you must specify: ###### 2: -s | --string: snmp community string. Default public. ###### 3: -u | --user: user. -p | --pass: password.
Example: check_wg_tunnels.sh -h 192.168.2.100 -s publicsnmp -t "80.24.56.73-90.123.124.34 100.234.45.47-90.12.45.123" Example: check_wg_tunnels.sh -h 192.168.2.100 -v 3 -u read -p 1234567789 -t "80.24.56.73-90.123.124.34 100.234.45.47-90.12.45.123 123.234.43.65-65.234.56.78"
Output example Ok. 79.98.225.6-81.47.104.44 is up. 192.168.223.2-195.89.176.194 is up. 79.98.225.6-85.119.3.252 is up Critical. 79.98.225.6-81.47.104.44 is down. 192.168.223.2-195.89.176.194 is up. 79.98.225.6-85.119.3.252 is up
You must be logged in to submit a review.
To:
From: