-
Notifications
You must be signed in to change notification settings - Fork 6
rrdtool Documentation
Benedikt Kristinsson edited this page Jan 25, 2015
·
7 revisions
We use rrdtool to generate some graphs. The data is currently being written to monitor.log from moitor.pyand contains information on bandwidth usage and usercount.
-
An understandable guide to
rrdtool: https://calomel.org/rrdtool.html -
My question on ServerFault, good answer: See: http://serverfault.com/a/662196/148056
```
$ rrdtool create monitor_db.rrd \
--step 900 \
--start 1404249670 \
DS:bandwidth:GAUGE:3600:0:1000 \
DS:usercount:GAUGE:8000:0:1000 \
RRA:MAX:0.5:1:140160
$
```
I was collecting data to monitor.log for 6 months before i started using rrdtool. Here is how I imported it to a RRD database.
-
Create database as per above
-
Import with
monitorparser.pytool
$ python monitorparser.py
preprocessing
done, count: 3222
rrdtool...
done.
$
```
3. Generate some grapsh with `grap.sh`.