problem in yearly graph
Moderators: Developers, Moderators
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
problem in yearly graph
Hi ...
I have some problem just with yearly graphs.for some devices it's not display,but for others it's ok. here are a screenshot of my cacti,as you see yearly graph isn't display .
I have some problem just with yearly graphs.for some devices it's not display,but for others it's ok. here are a screenshot of my cacti,as you see yearly graph isn't display .
- Attachments
-
- Untitled.png (93.92 KiB) Viewed 1425 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem in yearly graph
Please select the wrench next to the broken graph and post the results
R.
R.
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem in yearly graph
Please copy that code into a file (e.g. broken-rrd.sh) and run it via "sh broken-rrd.sh > broken.png". What happens? Any eror message?
R.
R.
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
Re: problem in yearly graph
I copied the "Graph Source" to a file then
the result is :
Code: Select all
sh broken-rrd.sh > broken.png
the result is :
Code: Select all
*** glibc detected *** free(): invalid pointer: 0x09c2c2b0 ***
broken-rrd.sh: line 24: 25775 Aborted /usr/bin/rrdtool graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="Pop site Navard Karaj 2 - CPU Usage" --rigid --base=1 000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" -- slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:8: --font UNIT:8: DEF:a="/var/www/htm l/rra/pop_site_navard_karaj_2_5min_cpu_1887.rrd":5min_cpu:AVERAGE AREA:a#FF0000FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0 lf\n" COMMENT:" \n" COMMENT:"Last Updated \: Sat 21 Apr 12\:09\:21 IRDT 2012"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem in yearly graph
You should not type "whitespace" between any "--" and the related parameter (here: slope mode). Same applies to the number "1000" and stuff. Code should look likenahidrezaei wrote:I copied the "Graph Source" to a file thenCode: Select all
sh broken-rrd.sh > broken.png
the result is :Code: Select all
*** glibc detected *** free(): invalid pointer: 0x09c2c2b0 *** broken-rrd.sh: line 24: 25775 Aborted /usr/bin/rrdtool graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="Pop site Navard Karaj 2 - CPU Usage" --rigid --base=1 000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" -- slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:8: --font UNIT:8: DEF:a="/var/www/htm l/rra/pop_site_navard_karaj_2_5min_cpu_1887.rrd":5min_cpu:AVERAGE AREA:a#FF0000FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0 lf\n" COMMENT:" \n" COMMENT:"Last Updated \: Sat 21 Apr 12\:09\:21 IRDT 2012"
Code: Select all
/usr/bin/rrdtool graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="Pop site Navard Karaj 2 - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" --slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:8: --font UNIT:8: DEF:a="/var/www/html/rra/pop_site_navard_karaj_2_5min_cpu_1887.rrd":5min_cpu:AVERAGE AREA:a#FF0000FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n" COMMENT:" \n" COMMENT:"Last Updated \: Sat 21 Apr 12\:09\:21 IRDT 2012"
R.
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
Re: problem in yearly graph
I have done it without space , then I received these :
what should I do?
Code: Select all
*** glibc detected *** free(): invalid pointer: 0x096c72b0 ***
broken-rrd.sh: line 1: 22238 Aborted /usr/bin/rrdtool graph - --imgformat=PNG --start=-33053184 - -end=-86400 --title="Pop site Navard Karaj 2 - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-auto scale-max --lower-limit=0 --vertical-label="percent" --slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:8 : --font UNIT:8: DEF:a="/var/www/html/rra/pop_site_navard_karaj_2_5min_cpu_1887.rrd":5min_cpu:AVERAGE AREA:a#FF00 00FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf \n" COMMENT:" \n" COMMENT:"Last Updated \: Sat 21 Apr 12\:09\:21 IRDT 2012"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem in yearly graph
As already told above: this is then an issue with the rrdtool binary.
You may want to use a different version of rrdtool or compile it on your own.
This is NO cacti problem
R.
You may want to use a different version of rrdtool or compile it on your own.
This is NO cacti problem
R.
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
Re: problem in yearly graph
so How can I use a different version of rrdtool or compile it on my own? I don't really know how to solve this problem...
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
Re: problem in yearly graph
anybody knows?
-
- Posts: 27
- Joined: Wed Apr 18, 2012 12:42 am
Re: problem in yearly graph
nobody can't help me ?
Re: problem in yearly graph
I had that problem too, and I solved deleting the comment, in your case "last update..."
Bye
Bye
Who is online
Users browsing this forum: No registered users and 1 guest