I'm trying to create and export some graphs, after some attempt and reading this forum i'm finally able to show it on this link but some images are not created correctly, like ping and ppp0 traffic.
On logs i see this error:
Code: Select all
09/01/2010 01:38:04 PM - CMDPHP: Poller[0] ERROR: Detected RRDtool Crash on 'graph /var/www/dididado.sytes.net/public_html/graph/graphs/graph_6_4.png --imgformat=PNG --start=-33053184 --end=-86400 --title='Localhost - Traffic - ppp0' --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/cacti/rra/localhost_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="/var/www/cacti/rra/localhost_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=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\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" '. Last command was 'graph /var/www/dididado.sytes.net/public_html/graph/graphs/graph_6_3.png --imgformat=PNG --start=-2678400 --end=-7200 --title='Localhost - Traffic - ppp0' --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/cacti/rra/localhost_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="/var/www/cacti/rra/localhost_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=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\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" '
here is a log for a graph 6 image export but no files are created in the folder
Code: Select all
09/01/2010 01:42:04 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph /var/www/dididado.sytes.net/public_html/graph/graphs/thumb_6.png --imgformat=PNG --start=-86400 --end=-300 --title='Localhost - Traffic - ppp0' --rigid --base=1000 --height=150 --width=650 --alt-autoscale-max --lower-limit=0 --no-legend --vertical-label='bits per second' --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/var/www/cacti/rra/localhost_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="/var/www/cacti/rra/localhost_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00FF:"" LINE1:cdefe#002A97FF:""
09/01/2010 01:42:04 PM - EXPORT Creating Graph '/var/www/dididado.sytes.net/public_html/graphgraphs/thumb_6.png'
Code: Select all
General Information
Date Wed, 01 Sep 2010 13:30:12 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.3.x
Hosts 1
Graphs 4
Data Sources Script/Command: 2
SNMP Query: 1
Script - Script Server (PHP): 1
Total: 4
Poller Information
Interval 60
Type cmd.php
Items Action[0]: 2
Action[1]: 2
Action[2]: 1
Total: 5
Concurrent Processes 1
Max Threads 5
PHP Servers 5
Script Timeout 25
Max OID 10
Last Run Statistics Time:5.2379 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
PHP Information
PHP Version 5.3.2-1ubuntu4.2
PHP OS Linux
PHP uname Linux Server 2.6.32-24-generic-pae #41-Ubuntu SMP Thu Aug 19 02:43:57 UTC 2010 i686
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
MySQL Table Information