problem with <path_rra> (I assume... :-? )

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

Moderators: Developers, Moderators

Post Reply
Paz
Posts: 3
Joined: Mon Oct 11, 2004 5:15 pm

problem with <path_rra> (I assume... :-? )

Post by Paz »

Hello,

I really hope this is not something I could have easily fixed by searching a little more thorough through the forum, but if so; sorry for opening a new topic!

I'm currently experimenting a little bit with cacti (wanting to move from an expensive graphing program) and the system appears to be running ok, except for the fact that graphs are not generated and the following message appears:

ERROR: opening 'C:\cacti/rra/compie_hdd_total_41.rrd': No such file or directory

which is correct since the directory is empty except for the placeholder. However, when I created the graphs, the following happened:

+ Created graph: compie - Used Space - C: Label:Local
+ Created graph: compie - Used Space - D: Label:games
+ Created graph: compie - Used Space - E: Label:New Vo
+ Created graph: compie - Used Space - F: Label:COD1
+ Created graph: compie - Used Space - G: Label:apps
+ Created graph: compie - Used Space - H: Label:new S
+ Created graph: compie - Used Space - Virtual Memory

(snmp works and is able to see the partitions)
and:

c:\rrdtool\rrdtool.exe create \
C:\cacti/rra/compie_hdd_total_41.rrd \
--step 300 \
DS:hdd_used:GAUGE:600:0:U \
DS:hdd_total:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

however, the file isn't written to that directory

my guess is it has to do with the base_path not being set in the database? (I remember vaguely another topic on that matter). Hope somebody can shed some light on this.

thanks a lot!
Paz
Paz
Posts: 3
Joined: Mon Oct 11, 2004 5:15 pm

small update

Post by Paz »

I went through the logs again and found the following;

When cacti tries to write the rrd files to disk, the followin path is being used;

DEF:a="C\:\cacti/rra/hdd_free_50.rrd"

Notice the extra \ right after de C. I doublechecked the directory paths in cacti and they were alright so where does this \ come from?

thx.
psykokwak

Post by psykokwak »

I have the same probleme :

Code: Select all

C:\root\htdocs\pub\cacti\rrdtool\rrdtool.exe create \
C:\root\htdocs\pub\cacti/rra/routeur_cisco_traffic_in_14.rrd \
--step 300  \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
but nothing was written in this directory :(


any body know why ? :(

sorry for my english
Willie

RRA

Post by Willie »

Hey,

Are you using forward or backward slashes in your settings / paths tab? Here is what I am using
d:/rrdtool/rrdtool.exe

I use forward slashes even though I am running under windows 2003. Also, have you scheduled poller.php to run? The poller.php program is what actually takes care of the rrd files.

Regards,

Willie
Guest

Re: RRA

Post by Guest »

Ok, I found the solution of my problem!


The php config must not to be in "safe mode"
edit php.ini and check safe_mode = off


the "/" or "\" is not important! php can resolve them!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests