no data after change graph template
Moderators: Developers, Moderators
no data after change graph template
I need more details on my network state , so I change some query's graph template . Then there comes out problem .
When I change my graph template (Interface - Traffic (bits/sec)) to (Interface - Traffic (bits/sec, 95th Percentile)) , the 95th percentile have no data , when I create a new graph use (Interface - Traffic (bits/sec, 95th Percentile)) template , the data comes out , did I miss anything ?
When I change my graph template (Interface - Traffic (bits/sec)) to (Interface - Traffic (bits/sec, 95th Percentile)) , the 95th percentile have no data , when I create a new graph use (Interface - Traffic (bits/sec, 95th Percentile)) template , the data comes out , did I miss anything ?
- Attachments
-
- the graph that change graph template
- no data.jpg (35.64 KiB) Viewed 4621 times
-
- new graph use the template to create
- 2.jpg (31.51 KiB) Viewed 4623 times
Last edited by liung on Fri Jan 23, 2009 10:03 pm, edited 3 times in total.
Sorry for my poor knowledge . I didn't find where to edit the graph.
I change my graph template to 95th template then go to graph management , as the picture following , can you tell me where did I do wrong ?
Thanks !!
I change my graph template to 95th template then go to graph management , as the picture following , can you tell me where did I do wrong ?
Thanks !!
- Attachments
-
- change my graph template
- 2.JPG (62.45 KiB) Viewed 4540 times
-
- edit my graph template
- 1.JPG (160.49 KiB) Viewed 4543 times
so sorry for my mistake .
Do you mean here ?
RRDTool Command:
/usr/local/rrdtool-1.3.0/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pcrscdbp - Traffic - 192.168.37.213 (IBM 10/100 Ethe)" \
--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="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_in:MAX \
DEF:c="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"\n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)"
RRDTool Says:
OK
Do you mean here ?
RRDTool Command:
/usr/local/rrdtool-1.3.0/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pcrscdbp - Traffic - 192.168.37.213 (IBM 10/100 Ethe)" \
--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="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_in:MAX \
DEF:c="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/html/cacti/rra/pcrscdbp_traffic_in_1543.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"\n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)"
RRDTool Says:
OK
- Attachments
-
- 12.JPG (109.86 KiB) Viewed 4510 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Hmm, this requires more analysis on my side.
I _know_ that doing such a change on graph templates causes problems. But I don't know by now the root cause.
Please try the following:
Visit the Graph at Graph management, check it and select "Change Graph Template". Not sure this will help, but it's worth a try
Reinhard
I _know_ that doing such a change on graph templates causes problems. But I don't know by now the root cause.
Please try the following:
Visit the Graph at Graph management, check it and select "Change Graph Template". Not sure this will help, but it's worth a try
Reinhard
Template change
I have the same problem -- changed graph template to use 95th percentile and only 2 graphs are reflected properly. If I stumble across a fix for this issue I'll post my steps.
Change Graph Template to 95th Percentile
During the course of the day some graphs are starting to show 95th percentile -- no changes made, so not sure why it happened but things are starting to get sorted correctly.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Oops, I just verified, that the number for 95th is 0. So my approach fails. This must be due to changing the graph template. You may drop the graph, preserving the data sources. Then, please recreate a new one, this time specifying the correct 95th percentile template. Now you may associate the preserved data sources. This way, it should be fine.
Please verify
Reinhard
Please verify
Reinhard
-
- Posts: 6
- Joined: Wed Feb 04, 2009 11:39 am
I can verify that this worked for me. I was having the same problem...no 95th percentile line, and the legend value for 95th percentile was zero. After following gandalf's procedure above, it's working perfectly.gandalf wrote:This must be due to changing the graph template. You may drop the graph, preserving the data sources. Then, please recreate a new one, this time specifying the correct 95th percentile template. Now you may associate the preserved data sources. This way, it should be fine.
Thanks, gandalf!
Who is online
Users browsing this forum: No registered users and 1 guest