So close to working... help!

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
sspence
Posts: 4
Joined: Wed Mar 23, 2005 8:19 am

So close to working... help!

Post by sspence »

Ok, so I followed the guide here:

http://www.cacti.net/downloads/docs/htm ... ndows.html

With one tiny deviation, Apache2 got installed in its default location...

PHP5, MYSQL 4.1.10a

I can log in to cacti via the browser fine

I can add devices

But graphs fail to generate (see attached)

I'm currently using cmd.php not cactid, with 10 poller processes enabled, and here's a sample of the debug log:

03/23/2005 01:24:00 PM - 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 8]
03/23/2005 01:23:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
03/23/2005 01:20:16 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1111497615 --end=1111584015 --title="pixprimary - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2005/03/22 13:20:15 To 2005/03/23 13:20:15\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_load_1min_8.rrd":load_1min:AVERAGE DEF:b="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_load_5min_10.rrd":load_5min:AVERAGE DEF:c="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_load_15min_9.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1111583716,GT,a,a,UN,0,a,IF,IF,TIME,1111583716,GT,b,b,UN,0,b,IF,IF,TIME,1111583716,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/23/2005 01:20:16 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1111497615 --end=1111584015 --title="pixprimary - Traffic - 160.79.38.70 (PIX Firewall ou)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/03/22 13:20:15 To 2005/03/23 13:20:15\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_traffic_in_11.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/23/2005 01:20:16 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1111497615 --end=1111584015 --title="pixprimary - Traffic - 10.0.0.1 (PIX Firewall in)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/03/22 13:20:15 To 2005/03/23 13:20:15\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_traffic_in_12.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/23/2005 01:19:00 PM - 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 8]
03/23/2005 01:18:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
Attachments
This is what I see...
This is what I see...
noworky.JPG (81.32 KiB) Viewed 1957 times
sspence
Posts: 4
Joined: Wed Mar 23, 2005 8:19 am

Post by sspence »

Just spotted one thing, probably unimportant, but the log shows this path:
C\:\Program Files\Apache Group\Apache2\htdocs\cacti/rra/pixprimary_load_15min_9.rrd

is that even valid? I'm guessing not... but where is it set? it's not in my cmd.php or anywhere else I can see for that matter!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Long file names, or more importantly, long file names with spaces are not supported. I would guess that is your problem.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

the best way is to follow the cacti manual to the letter! (c:\apache2) :wink:
mrh | cacti 0.8.6h | plugin architecture | thold | monitor | iis6
sspence
Posts: 4
Joined: Wed Mar 23, 2005 8:19 am

Post by sspence »

Ok, I'll amend and see what that achieves...
sspence
Posts: 4
Joined: Wed Mar 23, 2005 8:19 am

Post by sspence »

Ok, all fixed, EXCEPT, my graphs have -1 values and no content.

Any quick fixes?

Thanks :)
User avatar
RaduAlexandru
Posts: 43
Joined: Mon Mar 28, 2005 5:06 pm
Location: Bucharest, Romania
Contact:

NO PICTURES

Post by RaduAlexandru »

Hy all I have the same problem I'm using php 5, mysql 4x, IIS 5 and Windows XP Proffesional....
Everything went grate but when the graphics have to generate.... :x
I configured everythig... LIKE IN THE BOOK... Any ideeas are welcome

Aw and in my rra folder I have only one file: ".placeholder".
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests