RRD Tool Error - Debug Included

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

Moderators: Developers, Moderators

Post Reply
arcuro
Posts: 2
Joined: Wed Mar 30, 2005 2:17 pm

RRD Tool Error - Debug Included

Post by arcuro »

Hello,

I am getting this error message when I turn on Image Debug. Can someone let me know what I am doing wrong or not doing? I have given r/w access to all needed folders. I am running on a Win2K3 Server with IIS 6.

The error stated that it can not find the file. When I look in the rra folder there are no files other then the one called ".placeholder"

RRDTool Says:

ERROR: opening 'c:\Inetpub\wwwroot\cacti/rra/testserver_traffic_in_12.rrd': No such file or directory

Here is the debug code for the

Data Source Debug:

c:/rrdtool/rrdtool.exe create \
c:\Inetpub\wwwroot\cacti/rra/testserver_traffic_in_12.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out: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 \

Here is what the pollor cache shows:

View Poller Cache

Data Source: testserver - Traffic - 127.0.0.1/4D:53:20:54:43:
RRD: c:\Inetpub\wwwroot\cacti\rra\testserver_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: testserver, Community: public)
Data Source: testserver - Traffic - 127.0.0.1/4D:53:20:54:43:
RRD: c:\Inetpub\wwwroot\cacti\rra\testserver_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: testserver, Community: public)
Data Source: Localhost - Traffic - 10.27.18.32/49:6E:74:65:6C:


No files are created in the rra folder. The IUSER account has full write access to the rra folder.

Thanks for any help....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

turn on debugging in the log for one cycle and paste the output.
arcuro
Posts: 2
Joined: Wed Mar 30, 2005 2:17 pm

Not sure if this is what you are looking for...

Post by arcuro »

03/31/2005 08:53:24 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1112194401 --end=1112280801 --title="Localhost - Traffic - 127.0.0.1 (4D:53:20:54:43:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/03/30 08:53:21 To 2005/03/31 08:53:21\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="c\:\Inetpub\wwwroot\cacti/rra/localhost_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="c\:\Inetpub\wwwroot\cacti/rra/localhost_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
03/31/2005 08:53:23 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1112194401 --end=1112280801 --title="Localhost - Traffic - 10.27.18.32 (49:6E:74:65:6C:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/03/30 08:53:21 To 2005/03/31 08:53:21\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="c\:\Inetpub\wwwroot\cacti/rra/localhost_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="c\:\Inetpub\wwwroot\cacti/rra/localhost_traffic_in_10.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
03/31/2005 08:53:23 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1112194401 --end=1112280801 --title="Localhost - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/03/30 08:53:21 To 2005/03/31 08:53:21\c" COMMENT:"\n" --vertical-label="processes" DEF:a="c\:\Inetpub\wwwroot\cacti/rra/localhost_proc_8.rrd":proc:AVERAGE AREA:a#F51D30:""
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) turn off web event logging.
2) change Poller Logging Level to DEBUG.
3) clear your cacti.log
4) run poller for one cycle then post cacti.log.
jopena
Posts: 2
Joined: Fri Apr 08, 2005 9:01 am
Contact:

Post by jopena »

Hello , I have the same problem and i counld not find what cause it.
I have tried on a Debian and a WinXP but it's still the same.
the RRA folder is totaly empty (for Debian) and have one file .placeholder (for Windows XP).
this is log from the log file.

........................
04/08/2005 05:03:44 PM - WEBLOG: Poller[0] CACTI2RRD: C:\rrdtool\src\tool_release\rrdtool.exe graph - --imgformat=PNG --start=1112882619 --end=1112969019 --title="Localhost - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/04/07 17:03:39 To 2005/04/08 17:03:39\c" COMMENT:"\n" --vertical-label="percent" DEF:a="c\:\apache\htdocs\cacti/rra/localhost_cpu_system_14.rrd":cpu_system:AVERAGE DEF:b="c\:\apache\htdocs\cacti/rra/localhost_cpu_user_15.rrd":cpu_user:AVERAGE DEF:c="c\:\apache\htdocs\cacti/rra/localhost_cpu_nice_13.rrd":cpu_nice:AVERAGE CDEF:cdefbc=TIME,1112968724,GT,a,a,UN,0,a,IF,IF,TIME,1112968724,GT,b,b,UN,0,b,IF,IF,TIME,1112968724,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#FF0000:"System" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" STACK:b#0000FF:"User" GPRINT:b:LAST:" Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" STACK:c#00FF00:"Nice" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#000000:"Total" GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
..................................
I have tried to put another .rrd file there and to rename it to some file that have to be there (i take the name from the log-file) but it's no good too.


10x to everybody in advance :)
mutant
Posts: 1
Joined: Tue May 03, 2005 7:28 pm

Post by mutant »

I am having this same problem.

WinXP apache 2.0.54 mysql 4.1
latest released cacti and cactid
Anyone know if there is a fix yet?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You have scheduled "php poller.php" right. If so, please set logging to DEBUG for 1 pass and run the following:

<path_cacti>/poller.php

post output:

<path_cacti>/cmd.php

post output:

Thanks,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jopena
Posts: 2
Joined: Fri Apr 08, 2005 9:01 am
Contact:

Post by jopena »

Hello,
I manage to do it.
So i'm speaking here for Windows
U have to run PHP.EXE with the POLLER.PHP every time u make a new graph , u are creating the .RRA file with this command so the poller.php can write in it.

SO:
" C:\php\php.exe c:\apache\htdocs\cacti\poller.php"

bye;")
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest