I'm monitoring SonicWall VPN sensors using the "Policy Name" as the identification method and I just got curious how PRTG does this monitoring.
First, the OID that SonicWall uses to show the Active Tunnels is: 126.96.36.199.4.1.87188.8.131.52.184.108.40.206.X
Where "X" is the unique ID of the active tunnel. Once the connection of this tunnel is lost or reconnected, this ID changes. And the thing is, how does PRTG do to keep the sensor UP even if the ID has changed? I know that maybe it compares the strings results from this OID. And if the string is the same, the sensor keeps up...
Is there some way to get the "source code" of this sensor? To see how it does to compare the checks in order to keep the sensor up? I'm curious because I would like to create a windows-based script to monitor a VPN that it not sonicwall but uses the same thing about "changing id on every reconnection".