Home Directory Plugins Network Connections, Stats and Bandwidth Watchguard Branch Office VPN Tunnels

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Watchguard Branch Office VPN Tunnels

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2022-03-17
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2090
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This plugin checks if one or more of Branch Office VPN Tunnels are active on a Watchguard device.
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