|
|
| Author |
Message |
r3n3gad3
Joined: 26 Aug 2008 Posts: 5
|
Posted: Wed Aug 27, 2008 6:36 am Post subject: Interface traffic graphs not graphing.... |
|
|
HI,
Ive managed to get the default settings back. But now I have a problem with the graphs. There is no data in the graphs.
The graph debug mode tells me this:
| Quote: | RRDTool Command:
/utils/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="test - Traffic - eth1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/etc/apache/docs/PHP/domain.org/cacti/rra/test_traffic_in_1914.rrd":traffic_in:AVERAGE \
DEF:b="/etc/apache/docs/PHP/domain.org/cacti/rra/test_traffic_in_1914.rrd":traffic_in:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdeff=a,8,* \
CDEF:cdefi=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
OK |
| Quote: |
Data Source Debug
/utils/rrdtool create \
/etc/apache/docs/PHP/domain.org/cacti/rra/test_traffic_in_1914.rrd \
--step 300 \
DS:traffic_in:COUNTER:120:0:1000000000 \
DS:traffic_out:COUNTER:120:0:1000000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
|
The graph says "nan" at both the current fields....
Does anybody know what is going wrong? |
|
| Back to top |
|
 |
r3n3gad3
Joined: 26 Aug 2008 Posts: 5
|
Posted: Wed Aug 27, 2008 10:29 am Post subject: |
|
|
nobody?  |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Fri Aug 29, 2008 2:35 pm Post subject: |
|
|
Please see 2nd link of my sig for debugging
Reinhard |
|
| Back to top |
|
 |
|