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

Collection of firewall filter counters and policers #33

Merged
merged 3 commits into from
Apr 28, 2019
Merged

Collection of firewall filter counters and policers #33

merged 3 commits into from
Apr 28, 2019

Conversation

bjornryden
Copy link
Contributor

So this is my second go at Go, so please still bear with me and any pointers will be much appreciated.

Based off a copy of the routes package, as this was doing much the same as what I needed, albeit in a different directive.

This gets statistics (packets and bytes) from firewall filter (counters and policers), with labels for the filter and counter name, as well as if the type is counter or policer.

It's been tested to work with interface-specific filters too where interface becomes part of the counter/policer name

@czerwonk
Copy link
Owner

Hi, thank you very much. I will try to have a look at it this week.

@czerwonk czerwonk merged commit 5f3799d into czerwonk:master Apr 28, 2019
martintopholm pushed a commit to martintopholm/junos_exporter that referenced this pull request Dec 10, 2020
Collection of firewall filter counters and policers
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