RRD file never create.

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

Moderators: Developers, Moderators

Post Reply
gpl135
Posts: 6
Joined: Tue Oct 19, 2004 1:56 pm

RRD file never create.

Post by gpl135 »

I create a new graphic with the New Graphs menu.


When i finish the creation , I have a new DATA SOURCE.

The RRD file (Data Source Path) is never create.

I turn on debug data source. The result of debug:


Data Source DebugC:\APPLS\rrdtool\src\tool_release/rrdtool.exe create \C:\APPLS\cacti-0.8.5a/rra/rqs1_atm2_0_1_custom9.rrd \--step 300 \DS:traffic_in:COUNTER:600:0:100000000 \DS:traffic_out:COUNTER:600:0:100000000 \DS:traffic_in:COUNTER:600:0:100000000 \DS:traffic_out:COUNTER:600:0:100000000 \RRA:AVERAGE:0.5:6:700 \RRA:AVERAGE:0.5:24:775 \RRA:AVERAGE:0.5:1:210816 \RRA:AVERAGE:0.5:288:797 \RRA:MAX:0.5:6:700 \RRA:MAX:0.5:24:775 \RRA:MAX:0.5:1:210816 \RRA:MAX:0.5:288:797 \



The data in the RRD.LOG file in the directory : C:\APPLS\cacti-0.8.5a\log.

01/21/2005 10:02 AM - CMD: C:\APPLS\rrdtool\src\tool_release/rrdtool.exe create C:\APPLS\cacti-0.8.5a/rra/rqs1_atm2_0_1_custom9.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:1:210816 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:1:210816 \
RRA:MAX:0.5:288:797 \

01/21/2005 10:02 AM - CMD: C:\APPLS\rrdtool\src\tool_release/rrdtool.exe update C:\APPLS\cacti-0.8.5a/rra/rqs1_atm2_0_1_custom9.rrd --template traffic_in:traffic_out N:2007033177:566008198

This two messages are repeated at every 5 minutes. The rrd file never create.

What is the problem?

The version of softwares are:

Windows 2000 SP4;
CACTI : 0.8.5a;
RRDTOOL : 1.0.48;
MySQL: 4.0.18;
PHP: 4.3.6.

I have 1020 RRD file(s) in RRA directory.


Excuse my English.

Ghislain Plante
CSST
gpl135
Posts: 6
Joined: Tue Oct 19, 2004 1:56 pm

Post by gpl135 »

The problem is:

CACTI generated the command rrdtool create with the duplicate DS:

C:\APPLS\rrdtool\src\tool_release/rrdtool.exe create C:\APPLS\cacti-0.8.5a/rra/rqs1_traffic_out_1403.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \ is duplicate
DS:traffic_out:COUNTER:600:0:100000000 \ is duplicate
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:1:210816 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:1:210816 \
RRA:MAX:0.5:288:797 \

I executed this command manually and I receive the message indicating that there is a duplicate DS. The RRDTOOL.EXE not create rrd file, because this duplicate.

I executed this command without the duplicate and RRDTOOL create the file:

C:\APPLS\rrdtool\src\tool_release/rrdtool.exe create C:\APPLS\cacti-0.8.5a/rra/rqs1_traffic_out_1403.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
......

I don't know wy the cacti genarete a double DS.


Ghislain Plante
CSST
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You have a classic bug in cacti.

Please upgrade to 0.8.6c.

But first, you need to fix the duplicate DS problem.

Please refer to http://forums.cacti.net/viewtopic.php?t=4820 to fix the DS 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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest