Few days ago, I remove my cacti and spine from my debian packages, and compile it from source. After install my cacti, I patch it wich pPlugin Architecture. And compile spine.
Only what i save it's the database and the RRA files. After it, I inject new database, copy rra files to my rra dir. Make the RRA dir 777 and make owner and group cactiuser:www-data for this dir, above. Make the same owner and group for the rra files. Make 664 permission for files.
Unfortunetely all my graphs din't draw. My DEBUG logs looks like that:
Code: Select all
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bytes" DEF:a="/usr/share/cacti/rra/h4_mem_free_307.rrd":mem_free:AVERAGE DEF:b="/usr/share/cacti/rra/h4_mem_buffers_305.rrd":mem_buffers:AVERAGE DEF:c="/usr/share/cacti/rra/h4_mem_cache_306.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:cdefi:LAST:" Current\:%8.2lf %s" GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Traffic - eth0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_in:AVERAGE DEF:b="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
03/22/2010 05:10:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: 0 23]
03/22/2010 05:10:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/22/2010 05:10:00 PM - SYSTEM STATS: Time:299.2103 Method:spine Processes:1 Threads:1 Hosts:7 HostsPerProcess:7 DataSources:45 RRDsProcessed:0
03/22/2010 05:10:00 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
What could be the problem about?[/code]