File: flow-log2rrd.1.in

package info (click to toggle)
flow-tools 1%3A0.68-12.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,136 kB
  • ctags: 5,259
  • sloc: ansic: 43,197; sh: 1,674; perl: 661; python: 629; yacc: 303; makefile: 208; lex: 49
file content (87 lines) | stat: -rw-r--r-- 2,253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
...\" $Header: /usr/src/docbook-to-man/cmd/RCS/docbook-to-man.sh,v 1.3 1996/06/17 03:36:49 fld Exp $
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "\fBflow-log2rrd\fP" "1"
.SH "NAME"
\fBflow-log2rrd\fP \(em Process the STAT: lines from \fBflow-capture\fP and
\fBflow-fanout\fP to RRD files\&.
.SH "SYNOPSIS"
.PP
\fBflow-log2rrd\fP [-p\fI rrd_path\fP] 
.SH "DESCRIPTION"
.PP
The \fBflow-log2rrd\fP utility processes the STAT lines
generated by \fBflow-capture\fP and \fBflow-fanout\fP 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\&.
.SH "OPTIONS"
.IP "-p\fI rrd_path\fP" 10
Path to store files\&.
.SH "EXAMPLES"
.PP
Convert flow-capture STAT lines in /var/log/netflow to RRD\&'s in /flows/rrd/\&.
.PP
    \fBcat /var/log/netflow | flow-rpt2rrd -p /flows/rrd\fP
.SH "BUGS"
.PP
Expects STAT lines every 5 minutes\&.  Hard coded to 7 days of 5 minute
averages and 365 days of 1 day averages\&.
.SH "AUTHOR"
.PP
Mark Fullmer maf@splintered\&.net
.SH "SEE ALSO"
.PP
\fBflow-tools\fP(1)
...\" created by instant / docbook-to-man, Tue 10 May 2005, 14:04