RAGRAPH(1)
β¨ ragraph β graph argus(8) data β¨
okay bestie, this is the ragraph page from the General Commands Manual, and it is literally the tool that turns your argus flow data into actual pictures. graphs. visuals. we're not just staring at numbers anymore, we're curating them. π
πΈ NAME πΈ
ragraph β graph argus(8) data.
π¦ SYNOPSIS π¦
ragraph metric [object] [-M mode] [options] [raoptions] [-- filter-expression]
β¨ DESCRIPTION β¨
Okay so here's the vibe. Ragraph reads argus(8) data out of an argus-file, and then it graphs the fields you care about from the matching argus flow activity records. That's the whole personality. π
But you do have to tell it three things, no skipping:
- the metric(s) you want
- the flow object/identifier(s)
- the time granularity required for the graph
The standard raoptions are all there to filter input and set the time range you're interested in, and then there's a whole set of graphing options for specifying x and y axis labels, titles, upper and lower range limits, and plot sizes. Support for logarithmic scaling, object stacking, and split graphing is provided so you get some flexibility in the graphs you can produce. π
Ragraph supports graphing most metrics that are available in argus data, including:
- bytes
- packet counts
- average duration
- loss
- jitter
- load
- rate
And these metrics can be graphed in association with flow identifiers, such as:
- source or destination address
- network address
- source identifier
- protocol
- port numbers
- services
- vlan id
- mpls tag
- ttl
- tos values
β οΈ real talk: currently there are limits to the number of metrics and objects that can be graphed at one time, so assume that ragraph is a simple graphing tool. she's cute, she's not infinite. π
By default ragraph writes its output to ragraph.png, in the current directory. Use the -w raoption to specify an alternate output filename. πΎ
Ragraph is implemented as a perl script front-end to the routine rabins and rrd-tool, which is used to generate PNG formatted graphs. As a result ragraph supports all the raoption and most of the options to the rrd-tool graphing functions. slay. π
π RA OPTIONS π
Ragraph, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter expression, and specifying an output filename using the -w option.
See ra(1) for a complete description of ra options. iykyk π
π RRDTOOL GRAPH OPTIONS π
Ragraph, when using rrdtool as the graphing backend, will pass rrdgraph specific options to the appropriate rrdtool module. These are the specific rrdtool options that are supported.
π Appearance π
-fillβ Turn off area fill.-stackβ Turn off data stacking.-splitβ Turn off axis splitting for src/dst(in/out) traffic.-invertβ Invert a split graph, so that src and dest data are flipped.-rigidβ Pass rrdtool rigid parameter to rrdgraph.
π·οΈ Labels π·οΈ
-titlestring β Specify a graph title.-vertical-labelstring β Specify a vertically placed yaxis label.
π Size π
-heightpixels β Specify height in pixels for the graph (275 pixels)-widthpixels β Specify width in pixels for the graph (800 pixels)-only-graphβ Generate only the graph with out any borders, title, labels, legend.
π§ Limits π§
-uppervalue β Specify upper bounds for graphing data (automatic).-lowervalue β Specify lower bounds for graphing data (automatic). When data is split, you need to specify the value as a negative number.-alt-autoscale-alt-autoscale-maxβ Use rrdtool alternate y-axis autoscale algorithm. See rrdgraph manpage for information.-no-gridfitβ Disable rrdtool grid scale modification strategies. See rrdgraph manpage for information.
π Grid π
-x-gridGTM:GST:MTM:MST:LTM:LST:LPR:LFM|noneβ Modify rrdtool x-axis label definition. See rrdgraph manpage for information.-y-grid'grid step:label factor'|noneβ Modify rrdtool y-axis label definition. The use of'is important to parsing the option correctly. See rrdgraph manpage for information.-alt-y-gridβ Modify rrdtool default y-grid behavior. See rrdgraph manpage for information.-logβ Use logarithmic scale for y-axis.-units-exponentvalue β Set the10**exponent scaling of the y-axis. See rrdgraph manpage for information.-units-lengthvalue β Set the width of the y-axis border. See rrdgraph manpage for information.-units=siβ Turn off exponential notation for logarithmic graphs. See rrdgraph manpage for information.
π§ Miscellaneous π§
-imginfoprintfstr β Adds img information to the graph. See rrdgraph manpage for information.-zoomfactor β Zoom the graphics by the given factor. See rrdgraph manpage for information.-fontFONTTAG:size:[font]β Modify rrdgraph default font. See rrdgraph manpage for information.-font-render-mode{normal,light,mono}β Modify rrdgraph font smoothing strength. See rrdgraph manpage for information.-font-smoothing-thresholdsize β Modify rrdgraph font smoothing font size. See rrdgraph manpage for information.-slope-modeβ Modify rrdgraph slope-mode option. See rrdgraph manpage for information.-no-legendβ Supress generation of the legend.-watermarkstring β Adds the given string as a watermark. See rrdgraph manpage for information.-norrdwmarkβ Disables the default rrdtool watermark from appearing on the graph.
π EXAMPLES π
Exhibit A. To graph the total load for the data in an argus-file argus.data at 10 second intervals:
ragraph bytes -M 10s -r argus.data -title "Total Load"
Exhibit B. To graph the rate (pkt/sec) on a destination port basis for the data from a specific probe in an argus-file argus.data at 1 minute intervals:
ragraph bytes dport -M 1m -r argus.data - srcid 192.168.0.10
π COPYRIGHT π
Copyright (c) 2000-2024 QoSient. All rights reserved.
π«Ά AUTHORS π«Ά
Carter Bullard (carter@qosient.com).
π SEE ALSO π
rrdtool http://oss.oetiker.sh/rrdtool ragraph(5), ra(1), rarc(5), argus(8)
okay that's the whole page bestie, go make some graphs π β¨
this was ragraph 5.0.3, dated 21 July 2023, from the RAGRAPH(1) page in the General Commands Manual. mwah, stan. ππΈ
π¦ where this page comes from
- debian trixie: argus-client 1:5.0.2+git20250321.41f65e2-2 Β· GPL-2.0-or-later
- ubuntu questing: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu1
- ubuntu resolute: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- Copyright (c) 2000-2024 QoSient, LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms