I am trying to figure out why our graphs are not being generated. Not seeing any errors in the logs. If I look at the Poller Cache, I see this:
Code: Select all
Data Source: Localhost - Memory - Free
RRD: C:\Program Files\Apache Group\Apache2\htdocs\cacti\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:/Program Files/Apache Group/Apache2/htdocs/cacti/scripts/linux_memory.pl MemFree:
Tried what was stated in this thread: http://forums.cacti.net/viewtopic.php?t ... not+module
I no longer get the php -q errors, and the scheduled task now completes with error code 0x0. However, I still do no see any graphs. On occasion, the task times out at 298 seconds.
System Configuration:
Windows 2003 Server
Apache 2.0
rrdtool 1.2.11 (cygwin)
cacti G
MySql 4.1
Perl 5.8
PHP 5.0
DEBUG Log Output (using cactid):
Code: Select all
View Cacti Log File [15 Items]
09/22/2005 10:31:34 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 1]
09/22/2005 10:31:29 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 1]
09/22/2005 10:31:14 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127323873 --end=1127410273 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:31\:13 To 2005/09/22 10\:31\:13\c" COMMENT:" \n" --vertical-label="processes" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
09/22/2005 10:31:14 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127323873 --end=1127410273 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:31\:13 To 2005/09/22 10\:31\:13\c" COMMENT:" \n" --vertical-label="users" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
09/22/2005 10:31:14 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127323873 --end=1127410273 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2005/09/21 10\:31\:13 To 2005/09/22 10\:31\:13\c" COMMENT:" \n" --vertical-label="processes in the run queue" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1127409974,GT,a,a,UN,0,a,IF,IF,TIME,1127409974,GT,b,b,UN,0,b,IF,IF,TIME,1127409974,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:""
09/22/2005 10:31:13 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127323873 --end=1127410273 --title="Localhost - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:31\:13 To 2005/09/22 10\:31\:13\c" COMMENT:" \n" --vertical-label="kilobytes" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" AREA:b#FFC73B:"Swap":STACK GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"
09/22/2005 10:29:55 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 1]
09/22/2005 10:29:52 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 1]
Code: Select all
View Cacti Log File [26 Items]
09/22/2005 10:35:06 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127324105 --end=1127410505 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:35\:05 To 2005/09/22 10\:35\:05\c" COMMENT:" \n" --vertical-label="processes" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
09/22/2005 10:35:06 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127324105 --end=1127410505 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:35\:05 To 2005/09/22 10\:35\:05\c" COMMENT:" \n" --vertical-label="users" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
09/22/2005 10:35:05 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127324105 --end=1127410505 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2005/09/21 10\:35\:05 To 2005/09/22 10\:35\:05\c" COMMENT:" \n" --vertical-label="processes in the run queue" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1127410205,GT,a,a,UN,0,a,IF,IF,TIME,1127410205,GT,b,b,UN,0,b,IF,IF,TIME,1127410205,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:""
09/22/2005 10:35:05 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1127324105 --end=1127410505 --title="Localhost - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/21 10\:35\:05 To 2005/09/22 10\:35\:05\c" COMMENT:" \n" --vertical-label="kilobytes" --slope-mode DEF:a="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="C\:/Program Files/Apache Group/Apache2/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" AREA:b#FFC73B:"Swap":STACK GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"
09/22/2005 10:34:57 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/program files/apache group/apache2/htdocs/cacti/cmd.php 0 1]