RRDTOOL can't generate .rrd files

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

Moderators: Developers, Moderators

Post Reply
vtuning.net
Posts: 13
Joined: Fri Nov 02, 2007 2:32 pm

RRDTOOL can't generate .rrd files

Post by vtuning.net »

Hi,

Firstly, sorry for my english, i'm french ;)

I try to install Cacti on my local machine for learn how it work before install it on my web's server.
But i can't...

I've one local apache/php 5/mysql servers under Windows Vista.

I've downloaded RRDTOOL zip file, extract rrdtool.exe and copy it to c:\rrdtool. It seem work.
I've installed Cacti on the Web server. It seem work correctly.
I've actived built'in Windows SNMP server (network). Cacti recognise it.
I've added one task poller.php. Work correctly evry 5 minutes.

I try to monitor my internet connexion but RRDTOOL dont generate his database files.
If i search it in my system, i don't find it.

In debug mode i have this message :

Code: Select all

RRDTool Command:

c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Windows Localhost - Traffic - ppp_2" \
--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/Zend/Apache2/htdocs/test_cacti/rra/windows_localhost_traffic_in_9.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Program Files/Zend/Apache2/htdocs/test_cacti/rra/windows_localhost_traffic_in_9.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 

RRDTool Says:

ERROR: opening 'C:/Program Files/Zend/Apache2/htdocs/test_cacti/rra/windows_localhost_traffic_in_9.rrd': No such file or directory

Can you help me please?

Thanks.

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

Post by BSOD2600 »

1) read http://forums.cacti.net/viewtopic.php?t=11747
2) Cacti doesn't work with spaces in its path.
vtuning.net
Posts: 13
Joined: Fri Nov 02, 2007 2:32 pm

Post by vtuning.net »

Thanks for your help.

I will try to install the web server in the ROOT path.

Do you think it will solve the problem?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Follow my installation guide.

Yes.
vtuning.net
Posts: 13
Joined: Fri Nov 02, 2007 2:32 pm

Post by vtuning.net »

Yes!!! Thanks. It works.

I've tranfered servers on "c:\Zend" folder, i have .rrd files now.

But...

Only one system is monitored (drive d:) on around 10 system choised
.
When task is running two cmd.exe windows open.

Cactiplus :

Code: Select all

11/03/2007 04:46:54 AM - POLLER: Poller[0] WARNING: Poller[0] Host[2] Ping Time was not numeric
And taskeng.exe

Code: Select all

11/03/2007 04:46:52 AM - POLLER: Poller[0] DEBUG: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
...
vtuning.net
Posts: 13
Joined: Fri Nov 02, 2007 2:32 pm

Post by vtuning.net »

I uninstalled Window's SMTP server.

I would use NET-SNTP but i can't do it work...
vtuning.net
Posts: 13
Joined: Fri Nov 02, 2007 2:32 pm

Post by vtuning.net »

Finaly, i've reinstalled window's SNMP system.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest