Home > Uncategorized > Using the argus client ragraph to create a graph

Using the argus client ragraph to create a graph

It’s quite easy to create a graph using ragraph, which utilizes rrdtool.

Here is a one-liner to produce a graph of a given SQL query:

rasql -M sql "where saddr='192.168.100.23'" -r mysql://argus:SQLPASSWORD@localhost/argus/argustable_20120703 -w - | ragraph sbytes dbytes -M time 1m -m srcid -r -
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: