[solved] rrd files not created

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

Moderators: Developers, Moderators

Post Reply
gtw
Posts: 4
Joined: Fri Mar 06, 2009 4:15 am

[solved] rrd files not created

Post by gtw »

Hi,

I'm running a fresh install of Cacti on Windows 2003 UK (more info tech_support.txt). I installed cacti using the windows manual on the cacti website. However Cacti is not creating .rdd files in the /rra directory.

The rights on folders and files are correct. In the cacti.log it says that the .rrd file will be create. (For the complete log chech the attachments.)

CACTI2RRD: c:\cacti\rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/ispwan5500_traffic_in_37.rrd

I used filemon to monitor "acces denied", but no errors occured. I does report an error (file not found) when monitoring with filemon while graphing.

When debugging the graph it says;

RRDTool Command:

c:\cacti\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ISPWAN5500 - Traffic - Ethernet1/0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12:c:\windows\fonts\arial.ttf \
--font AXIS:8:c:\windows\fonts\arial.ttf \
--font LEGEND:10:c:\windows\fonts\arial.ttf \
--font UNIT:8:c:\windows\fonts\arial.ttf \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/ispwan5500_traffic_in_36.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/ispwan5500_traffic_in_36.rrd":traffic_out:AVERAGE \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97FF:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/ispwan5500_traffic_in_36.rrd': No such file or directory

When manualy executing the rrd commandline it reports: (dont know if this suppose to work)
"ERROR: failed to parse data source 600:0:"

Can anyone point me in the right direction where to look next? Or maybe even solve the problem?
Attachments
tech_support.txt
support page
(13.29 KiB) Downloaded 281 times
cacti.txt
cacti.log
(2.23 KiB) Downloaded 237 times
rights on /rra
rights on /rra
rra_rights.jpg (37.7 KiB) Viewed 6671 times
rights on cmd
rights on cmd
cmd_rights.jpg (38.17 KiB) Viewed 6671 times
error rrdtool.exe
error rrdtool.exe
cmd_rrd.jpg (39.99 KiB) Viewed 6671 times
User avatar
TheWitness
Developer
Posts: 17064
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Check the patches site, reindex your hosts and resave the host. Let us k ow if that fixes things.

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?
gtw
Posts: 4
Joined: Fri Mar 06, 2009 4:15 am

Post by gtw »

I installed all the available patches.
I reindexed the hosts using the following command: php poller_reindex_hosts.php -id=all
I resaved my host (openend devices and clicked save)

I found out that cacti does graph "interface unicast packets", but "interface traffic" does not work. Not in bits/bytes or 64 bits.
User avatar
TheWitness
Developer
Posts: 17064
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Windoz agent is subpar. It does not support 64 anything.

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?
Jadder
Posts: 3
Joined: Fri Mar 06, 2009 10:31 am

Post by Jadder »

I am having the same problem.

When i tried to save data sources that have this problem i noticed that the Maximum Value for traffic_in and traffic_out had a whitespace before the value.

I can also see that gtw has the same problem.

COUNTER:600:0: 100000000

Regards,
Jadder
gtw
Posts: 4
Joined: Fri Mar 06, 2009 4:15 am

Post by gtw »

Indeed, i tested manually creating the without the whitespaces. Then it does create the .rrd file. Did you solve the problem, or do you still have it?
Jadder
Posts: 3
Joined: Fri Mar 06, 2009 10:31 am

Post by Jadder »

Still have the problem. Dont know how to fix it.
For now i have changed all my datasources manually.

TheWitness?
Jadder
Posts: 3
Joined: Fri Mar 06, 2009 10:31 am

Post by Jadder »

http://www.cacti.net/downloads/patches/ ... tion.patch

Turned out i failed to apply the above patch correctly. Now it works.

Regards,
Jadder
gtw
Posts: 4
Joined: Fri Mar 06, 2009 4:15 am

Post by gtw »

I needed to reboot the server before the patch seem to work. Thanks for your help!
bitgod
Posts: 25
Joined: Thu Mar 31, 2005 2:03 pm
Location: Texas, USA

Post by bitgod »

[removed]
vampirex2
Posts: 2
Joined: Wed May 06, 2009 12:13 pm

?

Post by vampirex2 »

Jadder wrote:http://www.cacti.net/downloads/patches/ ... tion.patch

Turned out i failed to apply the above patch correctly. Now it works.

Regards,
Jadder
Sorry to ask but, how and where do i have to make this change in order to solve the problem?

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

Post by BSOD2600 »

http://forums.cacti.net/viewtopic.php?t=11747

Download the prepatched files.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests