Debian Codegraph @

man/man1/ragraph.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RAGRAPH 1 "21 July 2023" "ragraph 5.0.3"
8 .SH NAME
9 \fBragraph\fP \- graph \fBargus(8)\fP data.
10 .SH SYNOPSIS
11 .B ragraph metric [object]
12 [\fB\-M\fP \fImode\fP] [\fBoptions\fP] [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
13 .SH DESCRIPTION
14 .IX "ragraph command" "" "\fLragraph\fP \(em argus data"
15 .LP
16 .B Ragraph
17 reads \fBargus(8)\fP data from an \fIargus-file\fP, and graphs
18 fields of interest from matching argus flow activity records.
19 You must specify the metric(s), the flow object/identifier(s)
20 and the time granularity required for the graph. Standard
21 raoptions are available to filter input and specify the time
22 range of interest, and graphing options are provided to specify
23 x and y axis labels, titles, upper and lower range limits,
24 and plot sizes. Support for logorithmic scaling, object stacking,
25 and split graphing are provided to provide some flexibility in
26 the graphs you can produce.
27
28 \fBRagraph\fP supports graphing most metrics that are available
29 in argus data, including, bytes, packet counts, average duration,
30 loss, jitter, load, and rate. These metrics can be graphed in
31 association with flow identifiers, such as source or destination
32 address, network address, source identifier, protocol, port numbers,
33 services, vlan id, mpls tag, ttl, and tos values. Currently, there
34 are limits to the number of metrics and objects that can be graphed
35 at one time, so assume that \fBragraph\fP is a simple graphing tool.
36
37 By default \fBragraph\fP writes its output to ragraph.png, in
38 the current directory. Use the '-w' raoption to specify an
39 alternate output filename.
40
41 \fBRagraph\fP is implemented as a perl script front-end to
42 the routine \fBrabins\fP and rrd-tool, which is used to generate
43 PNG formatted graphs. As a result \fBragraph\fP supports all the
44 raoption and most of the options to the rrd-tool graphing functions.
45
46 .LP
47 .SH RA OPTIONS
48 Ragraph, like all ra based clients, supports a number of
49 \fBra options\fP including filtering of input argus
50 records through a terminating filter expression, and
51 specifying an output filename using the -w option.
52
53 See \fBra(1)\fP for a complete description of \fBra options\fP.
54
55 .SH RRDTOOL GRAPH OPTIONS
56 Ragraph, when using rrdtool as the graphing backend, will pass
57 rrdgraph specific options to the appropriate rrdtool module.
58 These are the specific rrdtool options that are supported.
59 .SH Appearance
60 .TP 4 4
61 .B \-fill
62 Turn off area fill.
63 .TP 4 4
64 .B \-stack
65 Turn off data stacking.
66 .TP 4 4
67 .B \-split
68 Turn off axis splitting for src/dst(in/out) traffic.
69 .TP 4 4
70 .B \-invert
71 Invert a split graph, so that src and dest data are flipped.
72 .TP 4 4
73 .B \-rigid
74 Pass rrdtool rigid parameter to rrdgraph.
75 .SH Labels
76 .TP 4 4
77 .B \-title string
78 Specify a graph title.
79 .TP 4 4
80 .B \-vertical-label string
81 Specify a vertically placed yaxis label.
82 .SH Size
83 .TP 4 4
84 .B \-height pixels
85 Specify height in pixels for the graph (275 pixels)
86 .TP 4 4
87 .B \-width pixels
88 Specify width in pixels for the graph (800 pixels)
89 .TP 4 4
90 .B \-only-graph
91 Generate only the graph with out any borders, title, labels, legend.
92 .SH Limits
93 .TP 4 4
94 .B \-upper value
95 Specify upper bounds for graphing data (automatic).
96 .TP 4 4
97 .B \-lower value
98 Specify lower bounds for graphing data (automatic). When data is
99 split, you need to specify the value as a negative number.
100 .TP 4 4
101 .B \-alt-autoscale
102 .TP 4 4
103 .B \-alt-autoscale-max
104 Use rrdtool alternate y-axis autoscale algorithm. See rrdgraph manpage for information.
105 .TP 4 4
106 .B \-no-gridfit
107 Disable rrdtool grid scale modification strategies. See rrdgraph manpage for information.
108 .SH Grid
109 .TP 4 4
110 .B \-x-grid GTM:GST:MTM:MST:LTM:LST:LPR:LFM | none
111 Modify rrdtool x-axis label definition. See rrdgraph manpage for information.
112 .TP 4 4
113 .B \-y-grid 'grid step:label factor' | none
114 Modify rrdtool y-axis label definition. The use of ' is important to parsing the
115 option correctly. See rrdgraph manpage for information.
116 .TP 4 4
117 .B \-alt-y-grid
118 Modify rrdtool default y-grid behavior. See rrdgraph manpage for information.
119 .TP 4 4
120 .B \-log
121 Use logarithmic scale for y-axis.
122 .TP 4 4
123 .B \-units-exponent value
124 Set the 10** exponent scaling of the y-axis. See rrdgraph manpage for information.
125 .TP 4 4
126 .B \-units-length value
127 Set the width of the y-axis border. See rrdgraph manpage for information.
128 .TP 4 4
129 .B \-units=si
130 Turn off expoenential notation for logarithmic graphs. See rrdgraph manpage for information.
131 .SH Miscellaneous
132 .TP 4 4
133 .B \-imginfo printfstr
134 Adds img information to the graph. See rrdgraph manpage for information.
135 .TP 4 4
136 .B \-zoom factor
137 Zoom the graphics by the given factor. See rrdgraph manpage for information.
138 .TP 4 4
139 .B \-font FONTTAG:size:[font]
140 Modify rrdgraph default font. See rrdgraph manpage for information.
141 .TP 4 4
142 .B \-font-render-mode {normal,light,mono}
143 Modify rrdgraph font smoothing strength. See rrdgraph manpage for information.
144 .TP 4 4
145 .B \-font-smoothing-threshold size
146 Modify rrdgraph font smoothing font size. See rrdgraph manpage for information.
147 .TP 4 4
148 .B \-slope-mode
149 Modify rrdgraph slope-mode option. See rrdgraph manpage for information.
150 .TP 4 4
151 .B \-no-legend
152 Supress generation of the legend.
153 .TP 4 4
154 .B \-watermark string
155 Adds the given string as a watermark. See rrdgraph manpage for information.
156 .TP 4 4
157 .B \-norrdwmark
158 Disables the default rrdtool watermark from appearing on the graph.
159
160 .SH EXAMPLES
161 .LP
162 To graph the total load for the data in an \fIargus-file\fP argus.data
163 at 10 second intervals:
164 .RS
165 .nf
166 \fBragraph bytes -M 10s -r argus.data -title "Total Load"
167 .fi
168 .RE
169 .LP
170 To graph the rate (pkt/sec) on a destination port basis for the
171 data from a specific probe in an \fIargus-file\fP argus.data at
172 1 minute intervals:
173 .RS
174 .nf
175 \fBragraph bytes dport -M 1m -r argus.data - srcid 192.168.0.10
176 .fi
177 .RE
178
179 .SH COPYRIGHT
180 Copyright (c) 2000-2024 QoSient. All rights reserved.
181 .SH AUTHORS
182 .nf
183 Carter Bullard ([email protected]).
184 .fi
185 .SH SEE ALSO
186 .BR rrdtool http://oss.oetiker.sh/rrdtool
187 .BR ragraph (5),
188 .BR ra (1),
189 .BR rarc (5),
190 .BR argus (8)