Menu

graphs

Mike Johnson

Graphs

RRDTool is used to collect data and display graphs. It is set to collect the maximum, at 1 minute intervals for 24 hours and 1 month. For traffic its in bits/sec, Traffic in is in green, traffic out is in red. For ping times the graph is in msec.

graph of 24 hours

1 month graph

RRDtool is used to convert the data to a graph, the last 8 graphs are stored in G0.PNG to G7.PNG, check the time of the files to find the most recent.

If you need to get a graph from the data then you can use the RRDTool command line, but it’s not easy. Documentation is at http://oss.oetiker.ch/rrdtool/ The single line command for the above graph is:

RRDTool graph gn.png -s end-24h -w 600 -h 350 DEF:InOctets=S172.24.224.12-24.rrd:InOctets:MAX:
CDEF:InBits=InOctets,8,* LINE2:InBits#00FF00 DEF:OutOctets=S172.24.224.12-24.rrd:OutOctets:MAX:
CDEF:OutBits=OutOctets,8,* LINE2:OutBits#FF0000

Related

Wiki: Home