I really tried to gather as much info as i can to make this thread easy to understand and help you.
I used the installer to setup cacti on a CLEAN fresh install of Windows Server 2003 R2 (VM)
I used the installer "Cacti-0.8.7g_1.95.exe"
I included lots of screen shots and info.
My one and only problem is that the GRAPHs are not being generated.
Please help me
Operating System: Windows Server 2003 R2
Webserver: Virtual Machine
Cacti: 0.8.7g
MySQL: 5.1.50
PHP: 5.2.14
RRDTool (Cygwin or Win32 version): RRDTool 1.2.x (I believe it's 1.2.30)
Net-SNMP: 5.5
Cygwin (cygwin1.dll version):
Plugin Architecture:
Spine:
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="B002 Stack #2 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/3/11.rrd":5min_cpu:AVERAGE \
AREA:a#ED5394FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf" RRDTool Says:
ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/11.rrd': No such file or directory
Code: Select all
03/03/2011 08:15:09 AM - WEBUI: Cacti Log Cleared from Web Management Interface
03/03/2011 08:15:47 AM - AUTH LOGIN: User 'admin' Authenticated
03/03/2011 08:15:59 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"select id from graph_tree where id="
03/03/2011 09:14:01 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075241 --end=1299161641 --title="Switch - CPU Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:01 To 2011/03/03 09\:14\:01\c" COMMENT:" \n" --vertical-label="percent" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/11.rrd":5min_cpu:AVERAGE AREA:a#ED5394FF:""
03/03/2011 09:14:01 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075241 --end=1299161641 --title="Switch - Traffic" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:01 To 2011/03/03 09\:14\:01\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: CDEF:cdefa=a,8,* AREA:cdefa#00CF00FF:"" LINE1:cdefa#002A97FF:""
03/03/2011 09:14:01 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075241 --end=1299161641 --title="Switch - Temperature" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:01 To 2011/03/03 09\:14\:01\c" COMMENT:" \n" --vertical-label="degree" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/12.rrd":cisco_tempcur:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/3/13.rrd":cisco_tempthr:AVERAGE AREA:a#00FF00FF:"" LINE2:b#009F67FF:""
03/03/2011 09:14:01 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075241 --end=1299161641 --title="Switch - Traffic - Gi1/0/2" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:01 To 2011/03/03 09\:14\:01\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/14.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/3/14.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00FF:"" LINE1:cdefe#002A97FF:""
03/03/2011 09:14:02 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075241 --end=1299161641 --title="Switch - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2011/03/02 09\:14\:01 To 2011/03/03 09\:14\:01\c" COMMENT:" \n" --vertical-label="percent" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/11.rrd":5min_cpu:AVERAGE AREA:a#ED5394FF:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
03/03/2011 09:14:03 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075243 --end=1299161643 --title="Switch - Temperature" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:03 To 2011/03/03 09\:14\:03\c" COMMENT:" \n" --vertical-label="degree" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/12.rrd":cisco_tempcur:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/3/13.rrd":cisco_tempthr:AVERAGE AREA:a#00FF00FF:"" LINE2:b#009F67FF:""
03/03/2011 09:14:03 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075243 --end=1299161643 --title="Switch - CPU Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:03 To 2011/03/03 09\:14\:03\c" COMMENT:" \n" --vertical-label="percent" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/11.rrd":5min_cpu:AVERAGE AREA:a#ED5394FF:""
03/03/2011 09:14:03 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075243 --end=1299161643 --title="Switch - Traffic" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:03 To 2011/03/03 09\:14\:03\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: CDEF:cdefa=a,8,* AREA:cdefa#00CF00FF:"" LINE1:cdefa#002A97FF:""
03/03/2011 09:14:03 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1299075243 --end=1299161643 --title="Switch - Traffic - Gi1/0/2" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2011/03/02 09\:14\:03 To 2011/03/03 09\:14\:03\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Apache2/htdocs/cacti/rra/3/14.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/3/14.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00FF:"" LINE1:cdefe#002A97FF:""