Yet another non displaying graph problem

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

Moderators: Developers, Moderators

Post Reply
griffinpet
Posts: 6
Joined: Thu Oct 08, 2009 11:00 am

Yet another non displaying graph problem

Post by griffinpet »

c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco ASA 5100 - Traffic - offices" \
--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="C\:/Program Files/Apache Software Foundation/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Program Files/Apache Software Foundation/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.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"
RRDTool Says:

ERROR: opening 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.rrd': No such file or directory

General Information
Date Thu, 08 Oct 2009 18:10:21 +0200
Cacti Version 0.8.7e
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.2.x
Hosts 2
Graphs 9
Data Sources Script/Command: 5
SNMP Query: 5
Total: 10

Any help will be greatly aprpeciated.
I set permissions in the rra directory to Everyone - Full Contol. I am running Apache as a user in a domain which has Administrator rights.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Spaces in the web directory path are not allowed. Fix that and your problem should go away.
griffinpet
Posts: 6
Joined: Thu Oct 08, 2009 11:00 am

Post by griffinpet »

c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco ASA 5100 - Traffic - offices" \
--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="C\:/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.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"
RRDTool Says:

ERROR: opening 'C:/Apache2.2/htdocs/cacti/rra/cisco_asa_5100_traffic_in_13.rrd': No such file or directory


Installed Apache to a different directory and still I get this message. Anything else I should look out for?

Thanks!
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If you installed Apache to a different directory, you need to

a) check the paths to ensure that they are correct
b) clear the poller cache for this to be reflected
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
slashmnemonic
Posts: 2
Joined: Thu Nov 12, 2009 7:41 am

Post by slashmnemonic »

hi,

i have some problem about displaying image.....like this

when page are refreshed, the page are displaying like this....
Image

when refreshed again, like this
Image

can anyone give me the solution?

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Possibly wrong rrdtool version set
Outdated cacti and old bugs
Possibly buggy rrdtool version -- I'd suggest 1.2.30 win32.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests