no rdd files

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

Moderators: Developers, Moderators

Post Reply
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

no rdd files

Post by wijs2 »

Hi,

I just installed a fresh cacti installation. But now I'm running into some problems. Here is my situation.

Server config:
MySQL Server version: 5.0.41-community-nt
MySQL client version: 5.0.37
PHP: Version 5.2.3
Cacti: 0.8.6j
RRDTool: rrdtool-1.2.15-win32-perl58.zip from http://oss.oetiker.ch/rrdtool/pub/?M=D
Net-SNMP: net-snmp-5.4.0-1.win32.exe from http://net-snmp.sourceforge.net/download.html
OS: Windows Server 2003 Enterprise SP2
Webserver: IIS6

As because the rest is optional I didn't use it. It should work with this config.


What did I already do?
- Followed up everything in http://forums.cacti.net/viewtopic.php?t=11747
- Reread check and reapplied the shipped "The Cacti Manual" about 10 times

What are my problems?
- No rrd files are created when executing "php E:\wwwroot\cacti\poller.php"

What am I missing or doing wrong?

Poller is enabled and using the cmd.php.

When I run "php E:\wwwroot\cacti\poller.php" this is the outcome:
06/08/2007 12:51:38 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: E:/php/php.exe, ARGS: -q e:/wwwroot/cacti/cmd.php 0 6]
06/08/2007 12:51:39 PM - SYSTEM STATS: Time:1.0376 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:0 RRDsProcessed:0

Could somebody advise me what to do? :-)

Grt
Wijs2
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

Seems to be fixed when you use version rrdtool-1.0.49-win32-bin.zip from http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/.

Shouldn't this also work with version rrdtool-1.2.15-win32-perl58.zip?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

That version is bound with PERL, and is known for it's problems - You need to have ActivePERL installed ideally for this to work properly. Did you install this ? Also, did you download the RRDTOOL found on the cacti website ?.

There is a newer version of RRDTOOL out at 1.2.23, which is not PERL dependant.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Only rrdtool 1.2.15 and later works with cacti using the Win32 build. All earlier versions must use the Cygwin build.

When you manually ran the poller, did you do it from an admin account?
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

mcutting wrote:That version is bound with PERL, and is known for it's problems - You need to have ActivePERL installed ideally for this to work properly. Did you install this?
Yes I did. Which version I have to look up, but probably the latest one from there website. This I have to check.
mcutting wrote:Also, did you download the RRDTOOL found on the cacti website ?
No, I downloaded the RRDTOOL from this link: http://oss.oetiker.ch/rrdtool/pub/?M=D
And then version 1.2.15

Where can I find the RRDTOOL on the cacti website?
BSOD2600 wrote:Only rrdtool 1.2.15 and later works with cacti using the Win32 build. All earlier versions must use the Cygwin build.

When you manually ran the poller, did you do it from an admin account?
Yes I did run poller with an administrator account and the version 1.2.15 did nothing in my case.
Last edited by wijs2 on Mon Jun 11, 2007 3:41 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wijs2 wrote:Where can I find the RRDTOOL on the cacti website?
Its linked right on the rrdtool download site: http://www.cacti.net/downloads/rrdtool/win32

From the command prompt run: php -m. Is mysql, sockets and snmp enabled?

Did you double check the NTFS permissions on all cacti related files, including php, rrdtool and cmd.exe?
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

Got the right rrdtool. Where can I find a corresponding Cygwin version? Just from http://www.cygwin.com/ or is there a better version around?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If you took RRDTOOL from the Cacti website, then you shouldn't need CYGWIN.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

Okay!

I unzipped the download and replaced the old rrdtool.exe. Checked the permissions. Everything looks fine. Poller.php runs without any error messages in the logs.

But, There is nog tekst in the graphs now!?! :o Why is that? Do I need to throw them all away? so that they can be remade? or is there again something I missing or doing wrong?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If there is no text in the graphs, or any form of legend, you need to check the path to your font. Have a look in SETTINGS / PATHS / RRDTool Default Font Path

Set this to be (for example), "c:/windows/fonts/arial.ttf". Once this is set correctlly, the text should display correctly.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

:oops: me wancker! :oops:

Thanks for the support.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests