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

Add ciscobgp snmp collector #1408

Merged
merged 1 commit into from
Oct 22, 2015
Merged

Add ciscobgp snmp collector #1408

merged 1 commit into from
Oct 22, 2015

Conversation

shanemadden
Copy link
Contributor

Add SNMP collector for the gathering of BGP health data from Cisco devices (CISCO-BGP4-MIB).

@@ -62,6 +62,21 @@ const (
)

const (
bgpPeerState = "bgp.peer.state"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can actually define these inside of the collector function that uses them. I think doing that may help keep the collectors package from having quite so many symbols defined at package scope.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do - was following the conventions from snmp_ifaces which I assumed were an attempt to enable easier localization of these strings?

@captncraig
Copy link
Contributor

Overall looks pretty solid. Just a few minor things to look at, to make sure this won't panic on us.

shanemadden added a commit that referenced this pull request Oct 22, 2015
@shanemadden shanemadden merged commit 89a91ec into bosun-monitor:master Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants