09.12.2017

FastNetMon Advanced Traffic Persistency

Introduction

FastNetMon has bundled ability to store all traffic inside special column-oriented database. You could store all traffic inside it and retrieve it using well-known SQL syntax.

System requirements

You should have working instance of FastNetMon before using this guide. Also, you need to install visual traffic stack because we use Grafana for traffic persistency too.

Install traffic database

For installing traffic persistency databases we use special flag from FastNetMon’s installer.

Download ASN mapping database

It’s mandatory step if you are interested in ASN tagging for your traffic. If your device populates it in Netflow v5/v9 and IPFIX stream you do not need it.

Configure FastNetMon to store traffic into traffic database

And start traffic_db daemon:

Make example queries

Start client:

Example query:

Execute ASN query:

As output, you could find number of packets per destination ASN for required time slice.

 

Clickhouse does not have capability to remove old data automatically, you can use our script for this task.

Example dashboards

Then you could use our pre-created dashboards:

  • Destination ASN report link
  • Source ASN report link
  • Bandwidth per arbitrary ASN link
  • Bandwidth per arbitrary prefix link