This is a public Media Gallery  publicRSS

Active Monitor

    Cisco VPN active monitor
    Active Monitor posted 12/11/09 by Neil Behagg
    858 Views
    Name:
    Cisco VPN active monitor
    Description:

    This script is for monitoring Cisco VPN tunnels using SNMP. To use it, create an active monitor using vb script and paste the code in. On the device you wish to monitor, create a new interface from the device properties general page, and give the new interface the IP address of the VPN endpoint. Then, assign the active monitor to that device and set it to use the interface you have just created.

    The script works by reading the new interface IP address and then looking for this IP address in the Cisco SNMP OID 1.3.6.1.4.1.9.9.171.1.2.3.1.7. This OID lists the endpoints of all active VPN tunnels, and when a tunnel is destroyed the entry is removed. Hence the active monitor will show as up if the IP address you specified is found, and down if it is not. I have so far tested this and am using it on two separate Cisco routers (and WUG 14.1), any problems or comments please let me know!

    Language:
    VB Script
    Code:
    Disclaimer:
    All scripts found on wugSpace are provided as-is with no warranty or guarantee. These scripts are not supported by Ipswitch Technical Support. If you have a problem with this script, please ask any questions in the comments.