1
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
6
<application>flow-log2rrd</application>
8
<manvolnum>1</manvolnum>
13
<application>flow-log2rrd</application>
16
Process the STAT: lines from <application>flow-capture</application> and
17
<application>flow-fanout</application> to RRD files.
23
<command>flow-log2rrd</command>
24
<arg>-p<replaceable> rrd_path</replaceable></arg>
29
<title>DESCRIPTION</title>
31
The <command>flow-log2rrd</command> utility processes the STAT lines
32
generated by <application>flow-capture</application> and <application>
33
flow-fanout</application> and converts them into RRD files. RRD's
34
are stored as rrd_path/capture|fanout.hostname.srcip.dstip.port.rrd.
35
The Datastores are flows,pkts,lost representing flows, packets, and lost
36
flows respectively. Flow-fanout generates an additional DS nobufs
37
indicating the number of times a write() failed with ENOBUFS.
42
<title>OPTIONS</title>
46
<term>-p<replaceable> rrd_path</replaceable></term>
58
<title>EXAMPLES</title>
61
Convert flow-capture STAT lines in /var/log/netflow to RRD's in /flows/rrd/.
64
<command>cat /var/log/netflow | flow-rpt2rrd -p /flows/rrd</command>
74
Expects STAT lines every 5 minutes. Hard coded to 7 days of 5 minute
75
averages and 365 days of 1 day averages.
83
<firstname>Mark</firstname>
84
<surname>Fullmer</surname>
86
<email>maf@splintered.net</email>
91
<title>SEE ALSO</title>
93
<application>flow-tools</application>(1)