flow-log2rrd - Man Page
Process the STAT: lines from flow-capture andflow-fanout to RRD files.
Synopsis
flow-log2rrd [ -p rrd_path ]
Description
The flow-log2rrd utility processes the STAT lines generated by flow-capture and flow-fanout and converts them into RRD files. RRD's are stored as rrd_path/capture|fanout.hostname.srcip.dstip.port.rrd. The Datastores are flows,pkts,lost representing flows, packets, and lost flows respectively. Flow-fanout generates an additional DS nobufs indicating the number of times a write() failed with ENOBUFS.
Options
- -p rrd_path
Path to store files.
Examples
Convert flow-capture STAT lines in /var/log/netflow to RRD's in /flows/rrd/.
cat /var/log/netflow | flow-rpt2rrd -p /flows/rrd
Bugs
Expects STAT lines every 5 minutes. Hard coded to 7 days of 5 minute averages and 365 days of 1 day averages.
Author
Mark Fullmer <maf@splintered.net>