Spanning Tree (STP) - Datasources available?
Hello,
I've been searching for Datasources related with Spanning Tree Protocol monitoring but didn't found one.
Does this mean there's no out-of-box datasources for STP monitoring?
This is extremly useful in terms of monitoring.
Appreciate the feedback.
Vitor_Santos
Posted 6 years ago·Last reply 5 years ago
5 comments
Vitor_Santos
OP5 years agoWe were able to surpass this by tweaking the way the output gets processed (on the groovy script):
This was found by the user MNagel - thanks a lot man! :)/emoticons/smile@2x.png 2x" title=":)" width="20" />
From there I've tweaked our DS in order to add context/support to SNMPv3.
Bear in mind that in order to use SNMPv3 (in this STP context) the user/group needs to have view for the 'vlan-' context (tested this only at Cisco devices for now).
Found this on post below:
https://community.cisco.com/t5/network-management/multiple-snmp-v3-command-to-type-at-one-time/td-p/1475609
I've made use of Cisco VLAN MIB, however, in the future we're seeking to use a method that can suit all the manufacturers (if you implement it in the meanwhile - feel free to share).
DataSource (my GitHub, since I didn't shared it in the Exchange yet) -> https://github.com/vitor7santos/LogicMonitor/blob/master/STP_Topology_Change%2Cxml
Thanks!
mnagel
·6 years agoThe main metric you would care about is related to time since last TCN per VLAN. I have a DS that will get this for the default VLAN, but had a lot of trouble with any others due to lack of context support in LM. I have been told there is context support in the 28.500 collector and later, but have not yet had a chance to test. I published what I have for now as 969G49, but the new version will have to be done as a Groovy script to leverage the context feature.
Vitor_Santos
OP6 years agoTo start with I was looking for already existent data sources.
Just wanted to understand if someone already had something, otherwise, I understand that will need to do it from scratch.
LM User
·6 years agoWhat exactly are you looking for? Define some of the metrics you'd like to see and what the instances would look like. Usually that discussion leads to more targeted queries against MIBs and APIs.