Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cisco OTV #2841

Merged
merged 3 commits into from
Feb 10, 2016
Merged

Cisco OTV #2841

merged 3 commits into from
Feb 10, 2016

Conversation

adaniels21487
Copy link
Contributor

Implements the CISCO-OTV-MIB to retrieve OTV counters from Cisco devices.
This collects information on the configured Overlays and Adjacencies

Statistics are collected for the amount of VLAN's on each overlay and the amount of MAC addresses available over each OTV endpoint.
OTV alerts are collected and generated if the appropriate alerting rules exist.

Data is displayed under routing at both the global and device level.

Includes function snmpwalk_array_num, which performs a numeric SNMPWalk and returns an array containing $count indexes
One Index:
From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27.18']['655360'] = 0
Two Indexes:
From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27']['18']['655360'] = 0
And so on...

Have a play and let me know what you think.

Thanks,
Aaron

Implements the CISCO-OTV-MIB to retrieve OTV counters from Cisco devices.
This collects information on the configured Overlays and Adjacencies

Statistics are collected for the amount of VLAN's on each overlay and the amount of MAC addresses available over each OTV endpoint.
OTV alerts are collected and generated if the appropriate alerting rules exist.

Data is displayed under routing at both the global and device level.

Includes function snmpwalk_array_num, which performs a numeric SNMPWalk and returns an array containing $count indexes
One Index:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27.18']['655360'] = 0
Two Indexes:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27']['18']['655360'] = 0
And so on...
@LibreNMS-CI
Copy link

Auto-Deploy finished, Test PR at http://2841.ci.librenms.org or https://2841.ci.librenms.org

@laf
Copy link
Member

laf commented Jan 24, 2016

👍 from me again.

Although the same comment about uppercase variables as per the other PR.

@laf
Copy link
Member

laf commented Jan 26, 2016

rrd updates seem to fail:

found extra data on update argument: U:0:57

So graphs don't show any data. This is via rrdcached.

@adaniels21487
Copy link
Contributor Author

Hi @laf,
Thats not cool. Can you please unicast me the debug poller output for this module (lists@daniels.id.au).

Thanks,
Aaron

@LibreNMS-CI
Copy link

Auto-Deploy finished, Test PR at http://2841.ci.librenms.org or https://2841.ci.librenms.org

@adaniels21487
Copy link
Contributor Author

Hi @laf,
I have pushed the lower case variable commit as well as adding some new debugging code.
Please send me the output of this and I will take a look.

Thanks,
Aaron

@laf
Copy link
Member

laf commented Jan 28, 2016

@laf
Copy link
Member

laf commented Jan 28, 2016

Updated gists, hadn't pulled in your changes :/

@laf
Copy link
Member

laf commented Feb 2, 2016

Gentle nudge :)

@adaniels21487
Copy link
Contributor Author

Hi @laf,
Sorry mate, I assumed that not pulling in my changes was the source of the problem..

Taking a look at the Gists, things look ok.
Discovery is creating the components, Polling is finding data.

The RRD lines look fine:

    VLAN Count: 8
[RRD Disabled]RRD[update ././HOSTNAME/cisco-otv-Overlay0-vlan.rrd N:8 --daemon 192.168.100.154:42217]

    MAC Count: 0
[RRD Disabled]RRD[update ././HOSTNAME/cisco-otv-FOUND-mac.rrd N:0 --daemon 192.168.100.154:42217]

    MAC Count: 48
[RRD Disabled]RRD[update ././HOSTNAME/cisco-otv-FOUND-mac.rrd N:48 --daemon 192.168.100.154:42217]

    MAC Count: 55
[RRD Disabled]RRD[update ././HOSTNAME/cisco-otv-FOUND-mac.rrd N:55 --daemon 192.168.100.154:42217]

I cant see the message you mentioned in the logs, does this only happen without -r ?

Aaron

@laf
Copy link
Member

laf commented Feb 3, 2016

No we get that on rrdcached logs. I'll take another look next week when I'm back in work.

Thanks for getting back to me though.

@laf
Copy link
Member

laf commented Feb 10, 2016

I have no idea wtf was going on when I first tried - graphs are working and did on that same day. I blame rrdcached :)

laf added a commit that referenced this pull request Feb 10, 2016
@laf laf merged commit fa783dc into librenms:master Feb 10, 2016
@laf
Copy link
Member

laf commented Feb 10, 2016

Thanks for this pr @adaniels21487. Appreciate the help and support.

@adaniels21487
Copy link
Contributor Author

no worries @laf, happy to help.

@adaniels21487 adaniels21487 deleted the issue-2665 branch February 14, 2016 03:23
@lock lock bot locked as resolved and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants