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

junos parser for 'show ddos-protection' command #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

karlnewell
Copy link
Contributor

This is a junos parser for
show ddos-protection protocols [optional_protocol] statistics brief | display xml

The parser creates a separate measurement for each protocol group, protocol type, and KPI combination and pulls stats for received packets, dropped packets, packet rate, and violation count.

I recommend you include a statement for each protocol you want to collect data for in your commands.yaml file. You can omit the optional_protocol and the command will pull stats for all protocols which will likely result in 800+ separate measurements.

Example data set:

> show ddos-protection protocols sample statistics brief
Packet types: 7, Received traffic: 0, Currently violated: 0

Protocol    Packet      Received        Dropped        Rate     Violation State
group       type        (packets)       (packets)      (pps)    counts
sample      aggregate   0               0              0        0         ok
sample      syslog      0               0              0        0         ok
sample      host        0               0              0        0         ok
sample      pfe         0               0              0        0         ok
sample      tap         0               0              0        0         ok
sample      sflow       0               0              0        0         ok

@karlnewell karlnewell changed the title Create junos parser for 'show ddos-protection' command junos parser for 'show ddos-protection' command May 3, 2017
@karlnewell
Copy link
Contributor Author

If there aren't any issues, can you please merge this PR?

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.

1 participant