Cacti don't make 1 year graphic
Moderators: Developers, Moderators
Cacti don't make 1 year graphic
Hi,
I have a problem with yearly graphs. Cacti don't generate that graph in some devices.
I copy the graph source code and run it, but i have an error
line 24: 14348 Segmentation fault /usr/bin/rrdtool graph - --imgformat=PNG --start=1344861624 --end=1376397624 --title='Router Fase5 - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/08/13 08\:40\:24 To 2013/08/13 08\:40\:24\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/router_fase5_5min_cpu_23.rrd":'5min_cpu':AVERAGE AREA:a#FFAB00FF:"CPU Usage" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf\n"
I have a problem with yearly graphs. Cacti don't generate that graph in some devices.
I copy the graph source code and run it, but i have an error
line 24: 14348 Segmentation fault /usr/bin/rrdtool graph - --imgformat=PNG --start=1344861624 --end=1376397624 --title='Router Fase5 - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/08/13 08\:40\:24 To 2013/08/13 08\:40\:24\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/router_fase5_5min_cpu_23.rrd":'5min_cpu':AVERAGE AREA:a#FFAB00FF:"CPU Usage" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf\n"
- Attachments
-
- graphsource.txt
- (655 Bytes) Downloaded 40 times
-
- graph.png (28.57 KiB) Viewed 1283 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti don't make 1 year graphic
Which version of rrdtool is this?
R.
R.
Re: Cacti don't make 1 year graphic
RRDtool 1.3.8gandalf wrote:Which version of rrdtool is this?
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti don't make 1 year graphic
What does happen when you run
R.
Code: Select all
/usr/bin/rrdtool graph /tmp/msic.png --imgformat=PNG --start=1344861624 --end=1376397624 --title='Router Fase5 - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/08/13 08\:40\:24 To 2013/08/13 08\:40\:24\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/router_fase5_5min_cpu_23.rrd":'5min_cpu':AVERAGE AREA:a#FFAB00FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
Re: Cacti don't make 1 year graphic
Return the following error ("segmentation fault")
4967 Segmentation fault /usr/bin/rrdtool graph /tmp/msic.png --imgformat=PNG --start=1344861624 --end=1376397624 --title='Router Fase5 - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/08/13 08\:40\:24 To 2013/08/13 08\:40\:24\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/router_fase5_5min_cpu_23.rrd":'5min_cpu':AVERAGE AREA:a#FFAB00FF:"CPU Usage" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf\n"
4967 Segmentation fault /usr/bin/rrdtool graph /tmp/msic.png --imgformat=PNG --start=1344861624 --end=1376397624 --title='Router Fase5 - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/08/13 08\:40\:24 To 2013/08/13 08\:40\:24\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/router_fase5_5min_cpu_23.rrd":'5min_cpu':AVERAGE AREA:a#FFAB00FF:"CPU Usage" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf\n"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti don't make 1 year graphic
This then is a plain rrdtool error. Please upgrade rrdtool
R.
R.
Re: Cacti don't make 1 year graphic
hi, I upgrade to 1.4.7, but i have the same error ("Segmentation fault")
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti don't make 1 year graphic
I used your command lineon my system and it works fine.
How did you build the rrdtool? Or did you download it from somewhere?
R.
How did you build the rrdtool? Or did you download it from somewhere?
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti don't make 1 year graphic
So there's a chance that this rpm does not match your platform?
Any option to build from source?
R.
Any option to build from source?
R.
Re: Cacti don't make 1 year graphic
i build source but i have many problems then i reinstall all again and the problem solve
Who is online
Users browsing this forum: No registered users and 3 guests