
Yoann SPAILIER (Shinka IT) asked a question.
Hello,
Do you have an active monitor script that can monitor the status of VPN tunnels whose OIDs change with each tunnel renegotiation?
Currently, I would like to create a VBScript code for WUG. The purpose of this script is to monitor the status of VPN tunnels. Unfortunately, the OIDs change quite often, so I would like to create a script that automatically traverses the MIB via the following OID: 1.3.6.1.4.1.12356.101.12.2.2.1.2.1. From there, a table of multiple tunnels should appear with the OID 1.3.6.1.4.1.12356.101.12.2.2.1.2.1 + Instance. Then, with this instance, it will be possible to monitor the status of the tunnel via the following OID: 1.3.6.1.4.1.12356.101.12.2.2.1.20.4 + Instance. If the result is 2, the tunnel is up; if another result is present, the tunnel is down.
Thank you,
Regards,