I don't use these devices, but I'm guessing if you did a MIB walk you could find the OID that represents the VPN state and build a UnDP (universal device poller) to capture that information. Just let me know if you need help with any of this.
Richard is right. I did a quick check into the MIB/OID for OTV and this is what I found: http://oidref.com/18.104.22.168.22.214.171.124.810
If that is the correct OID and your MIB walk is successful, don't forget to go to the customer portal and submit the OID for the MIB Database for others in the future. Also, it would be nice once you've created the UnDP that you post it for others, or at least an explanation of what you had to do to accomplish this.
Richard, I found this on THWACK, which seems to be what I am looking for.
However, when I go to Manage Pollers, THWACK Community Pollers, I can see it there, but when I try to import it, I get this error:Failed to import device poller! Reason:
This does not appear to be a valid Device Studio poller. Please use another poller.
There is also an alert this same person create and I have that imported into my alerts:
But the alert seems to be dependent on the UnDP being loaded.
Any idea how I can get this working? I have never done UnDP's before.
I was able to download it and import it into the UnDP (you open that from the SolarWinds server console, not the webpage). Go to file and import and it comes right up.
This poller doesn't give status, but rather the reasons for which the tunnel went down.
<?xml version="1.0" encoding="utf-8"?>
<CustomPoller UniqueName="cotvOverlayVpnDownReason" Description="This object indicates the reason why this Overlay Virtual
Private Network is down.
'other' - Any other reason not covered by below
'configChange' - Configuration changed
'missingControlGroup' - Control Group information
'missingDataGroupRange' - Data Group range information
'misssingJoinOrSourceInterface' - Join or Source interface
information is unavailable
'missingVpnName' - VPN name is unavailable
'missingJoinInterfaceAddr' - IP address is missing for
'joinInterfaceDown' - Join Interface is down
'adminDown' - Overlay is administratively shutdown
'deleteHoldDown' - Overlay is in delete hold down phase
'reinit' - VPN is reinitializing
'missingSiteId' - Site ID information is unavailable
'siteIdMismatch' - Site ID mismatch has occurred
'missingSourceInterfaceAddr' - IP address is missing for
'sourceInte" OID="126.96.36.199.188.8.131.52.810.1.2.1.1.4" MIB="CISCO-OTV-MIB:cotvOverlayVpnDownReason" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Cisco OTV" PollerType="S" Parser="Enumeration" IncludeHistory="True" Unit="" TimeUnitId="1" TimeUnitQuantity="0" DefaultDisplayTimeUnitId="0" Formula="" LabelType="" LabelDetail="">
<Enumeration RawValue="0" TextValue="other" />
<Enumeration RawValue="1" TextValue="configChange" />
<Enumeration RawValue="10" TextValue="reinit" />
<Enumeration RawValue="11" TextValue="missingSiteId" />
<Enumeration RawValue="12" TextValue="siteIdMismatch" />
<Enumeration RawValue="13" TextValue="missingSourceInterfaceAddr" />
<Enumeration RawValue="14" TextValue="sourceInterfaceDown" />
<Enumeration RawValue="15" TextValue="changingSiteId" />
<Enumeration RawValue="16" TextValue="changingControlGroup" />
<Enumeration RawValue="17" TextValue="missingDeviceId" />
<Enumeration RawValue="18" TextValue="changingDeviceId" />
<Enumeration RawValue="19" TextValue="cleanupInProgress" />
<Enumeration RawValue="2" TextValue="missingControlGroup" />
<Enumeration RawValue="3" TextValue="missingDataGroupRange" />
<Enumeration RawValue="4" TextValue="missingJoinOrSourceInterface" />
<Enumeration RawValue="5" TextValue="missingVpnName" />
<Enumeration RawValue="6" TextValue="missingJoinInterfaceAddr" />
<Enumeration RawValue="7" TextValue="joinInterfaceDown" />
<Enumeration RawValue="8" TextValue="adminDown" />
<Enumeration RawValue="9" TextValue="deleteHoldDown" />
You may need to conduct a MIB walk on it then to try and identify where the Up/Down status is set and poll that MIB.
All, I think I got this working with the stuff off THWACK from Ryan. I new to this but with some playing around, it seems like it is working. I guess I'll have wait till it drops before I can confirm that though...
1 of 1 people found this helpful
That's exactly right. In addition there should be a OID for the current status so that you could put a red/green icon on a status screen and see at a glance when any tunnel is down.
I did some digging, but I may have found another OID to monitor strictly for the Overlay VPN State
From here you would just need to setup an Alert to monitor the 'Custom Node Poller' with the Unique Name that is equal to 'cotvOverlayVpnState'
Trigger alert when Custom Poller Current Value is not equal to 'up'.