Skip to content

Commit

Permalink
Restore example config.
Browse files Browse the repository at this point in the history
Also ignore binary and config file.
  • Loading branch information
SuperQ authored and taktv6 committed Jul 12, 2019
1 parent da2cb1c commit 04a90cd
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
tflow2
/vendor
config.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ these you will always receive an empty result.

### Config file

There is YAML file as config. Defaults can be found in `config.yml.example`.
There is YAML file as config. Defaults can be found in `config-example.yml`.
You'll at least need to add your Netflow/IPFIX/Sflow agents and adjust (if you don't
want to work with interface IDs) your SNMP RO community.

Expand Down
39 changes: 39 additions & 0 deletions config-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
aggregation_period: 60
default_snmp_community: "public"
debug: 0
compression_level: 6
data_dir: "data"
anonymize: false
cache_time: 1800

netflow_v9:
enabled: true
listen: ":2055"

ipfix:
enabled: true
listen: ":4739"

sflow:
enable: true
listen: ":6343"

frontend:
enable: true
listen: ":4444"

bgp_augmentation:
enabled: false
bird_socket: "/var/run/bird/bird.ctl"
bird6_socket: "/var/run/bird/bird6.ctl"

annotators:
- name: "BGP Annotator"
target: "localhost:21222"

agents:
- name: "bb01.fra01"
ip_address: "127.0.0.1"
snmp_community: "public"
samplerate: 1000

0 comments on commit 04a90cd

Please sign in to comment.