Graphs with graph_Start and graph_end don't work (red X)

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

Moderators: Developers, Moderators

Post Reply
silver83@gmail.com
Posts: 3
Joined: Mon Apr 30, 2007 7:54 am

Graphs with graph_Start and graph_end don't work (red X)

Post by silver83@gmail.com »

All the graphs without these parameters work just fine,
Polling works,
I've read through the entire forum regarding graphs not being displayed and haven't figured this one out ....

env : windows XP pro sp2
cacti ver : 0.8.6j
php ver : tryed with both 5.2.1.1 and 5.2.0
cactid : 0.8.6.i.

When I go into the PHP code itself and remove the "graph_start" and "graph_end" parameter concatination during image url creation, it works, but then I can't query certain timespans....

Image debug for bad image :
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1177853401 \
--end=1177939801 \
--title="Yoni - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/04/29 16:30:01 To 2007/04/30 16:30:01\c" \
COMMENT:" \n" \
--vertical-label="bytes" \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"


Image debug for good image :
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Yoni - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"


help ?
DrivesMeCrazy
Posts: 30
Joined: Sat Apr 28, 2007 3:57 am

Post by DrivesMeCrazy »

What are the error message from graph debug!?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) read http://forums.cacti.net/viewtopic.php?t=11747 entirely.

2) Use php 5.2.0, since php 5.2.1 has issues.

3) install ALL patches for cacti 0.8.6j.

4) Cactid does not do the graphing, rrdtool.exe does, so it will have zero affect on the graph outcome. cmd.php/cactid.exe are the pollers which collect data.
silver83@gmail.com
Posts: 3
Joined: Mon Apr 30, 2007 7:54 am

thanks for your reply BSOD2600, but :

Post by silver83@gmail.com »

1. I already did.
Maybe i missed out on some details :

I've applied the latest patches to cacti,
WebServer - IIS.
MySQL ver 5.0
RRDTool (Win32 ver)

While posting this reply I don't have access to the machine, I'll post Net-SNMP and CygWin versions first thing tommorow morning.

2. Already tried that, tried 5.2.1, didn't work, read the forums, reverted to 5.2.0, didn't work, reverted to 5.1.6 (after a LOT of searching for it), still didn't work.

3. I know. But it's part of the environment info that I thought I might include "just in case"....
DrivesMeCrazy
Posts: 30
Joined: Sat Apr 28, 2007 3:57 am

Post by DrivesMeCrazy »

What RRDTool version are you using? 1.0x!?

If so, go to cacti webpage and update your settings.
Under "General" > "RRDTool Utility Version" and select "RRDTool 1.2x".

By default, "RRDTool 1.0x" is choosen.
silver83@gmail.com
Posts: 3
Joined: Mon Apr 30, 2007 7:54 am

THANKS!

Post by silver83@gmail.com »

That did the trick :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests