[rrd-users] RRD GRAPH
Reto Baumann
rb at open.ch
Wed Dec 19 18:00:59 MET 2001
I have a very strange problem, which most defently lies in a missed detail.
I created an RRD database which collects network traffic information from iptables (on a Linux box).
Calling an rrdtool info on that database returns:
filename = "/var/rrd/net_traffic_all"
rrd_version = "0001"
step = 300
last_update = 1008777480
ds[eth0_in].type = "COUNTER"
ds[eth0_in].minimal_heartbeat = 600
ds[eth0_in].min = 0.0000000000e+00
ds[eth0_in].max = NaN
ds[eth0_in].last_ds = "170528"
ds[eth0_in].value = 3.6811147541e+03
ds[eth0_in].unknown_sec = 0
ds[eth0_out].type = "COUNTER"
ds[eth0_out].minimal_heartbeat = 600
ds[eth0_out].min = 0.0000000000e+00
ds[eth0_out].max = NaN
ds[eth0_out].last_ds = "0"
ds[eth0_out].value = 0.0000000000e+00
ds[eth0_out].unknown_sec = 0
ds[eth1_in].type = "COUNTER"
ds[eth1_in].minimal_heartbeat = 600
ds[eth1_in].min = 0.0000000000e+00
ds[eth1_in].max = NaN
ds[eth1_in].last_ds = "1673281"
ds[eth1_in].value = 0.0000000000e+00
ds[eth1_in].unknown_sec = 0
ds[eth1_out].type = "COUNTER"
ds[eth1_out].minimal_heartbeat = 600
ds[eth1_out].min = 0.0000000000e+00
ds[eth1_out].max = NaN
ds[eth1_out].last_ds = "1206122"
ds[eth1_out].value = 0.0000000000e+00
ds[eth1_out].unknown_sec = 0
...
rra[0].cf = "AVERAGE"
rra[0].rows = 2000
rra[0].pdp_per_row = 3
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = 5.8756284153e+01
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = 0.0000000000e+00
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = 3.8733333333e+00
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = 4.9666666667e+00
rra[0].cdp_prep[3].unknown_datapoints = 0
...
When calling an RRDTOOL GRAPH with
/usr/local/rrdtool-1.0.33/bin/rrdtool graph /www/net.gif --start -6000 DEF:incoming=/var/rrd/net_traffic_all:eth0_in:AVERAGE LINE1:incoming
generates an empty pic (time is there, but no line).
Any idea?
Thanks a lot for the help
reto
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list