No rrd files created so obviously no graphs

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

Moderators: Developers, Moderators

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

Post by BSOD2600 »

I've had this type of thing happen to me once before and that was the fix.

Last thing you could try is:

mysql -u root -p cacti
>truncate table poller_output;
>quit

If that doesn't work, then we'll need a dev to figure out what the heck is going on.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

After 7:00pm EDT. I'll give you a swing..

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?
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I finally got it working...... I ended up uninstalling everything and going out trying to find older versions that are specifically referenced in the software. Then it worked!!! Thanks everyone for all the help.

A special thanks to BSOD2600. He helped a lot!
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Also issues with no rrd files being created

Post by lightningbit »

Hi,

I'm also having issues where no rrd files are created :

this is an extract from my log :
09/30/2005 12:36:25 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_out:traffic_in N:64:64
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:64:64
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:130:130
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:130:130

strange are the 2 ways it uses the slash... would that be the problem?

I'm running :

Cacti 0.8.6g
Mysql 4.11-nt
RRDtool 1.2.10
Windows 2003 server


any ideas?

L.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

D:\Wwwroot\cacti\rra\HOSTNAME.rrd

This line does not seem right. Now I am by no means an expert in this, but here is what I can see. HOSTNAME you should probably have localhost if you are trying to monitor your local machine. Second, do you really have cacti extracted to the wwwroot directory?
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Post by lightningbit »

Lmiller wrote:D:\Wwwroot\cacti\rra\HOSTNAME.rrd

This line does not seem right. Now I am by no means an expert in this, but here is what I can see. HOSTNAME you should probably have localhost if you are trying to monitor your local machine. Second, do you really have cacti extracted to the wwwroot directory?

actually ... in order to hide the real hostsnames (for security) I changed the text of the log, that is all

yes... currently I have it extracted to a subdirectory of the wwroot folder
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Have you checked the rra directory. Are the RRD files being created?
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Post by lightningbit »

Lmiller wrote:Have you checked the rra directory. Are the RRD files being created?
no, that is the problem... no RRD files are created
but the log does not give an error at all
and all users have access to write and modify files on that directory
so I'm not sure what is wrong
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

1) php <path_cacti>/cmd.php

2) php poller.php

In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages

If you get no "Ok" messages and it appears to run error free:

3) mysql -u root -p cacti
>truncate table poller_output;
>quit


Clear your cacti log file then post the results of all. Perhaps this will shed some light on things.
To be honest, when I was at this point I got frustrated and uninstalled everything, then reinstalled with different versions. Thats what finally got me to generate graphs. (mind you they had no data in them, but that was an easy fix)

When I reinstalled I installed the following versions of stuff and it finally worked....

apache_1.3.33-win32-x86-no_src.exe
net-snmp-5.2.2.pre1-1.win32.exe
mysql-3.23.57-win.zip
php-4.3.6-Win32
ActivePerl-5.8.7.813-MSWin32-x86-148120.msi
php-4.3.6-installer.exe
rrdtool-1.0.49-win32-bin
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Lmiller: Yikes, mysql 3.x?! I guess it would work, but dang thats old dude. The versions in my signature have been workin' fine for me.

lightningbit: the direction of the slashes really does not matter in this situation.
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

still no rrd files

Post by lightningbit »

I check the cmd.php and poller.php
and they seem to run fine, they do get data back
but still no rrd files :(

I attached the log of 1 run
Attachments
Copy of cacti.zip
(18.92 KiB) Downloaded 160 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

So if valid data is being returned, then you probably have a permission problem. Are you sure the user running the scheduled task has rights to create/write/read to the /rrd and /log folder?
Do rrd files get created if you run it under an admin account?
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Post by lightningbit »

I'm running it manually, with a user who is member of the administrators group
I also allowed everyone full access to that folder (just to rule out file/folder permissions)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If you manually run a create commnd, like rrdtool create D:/Wwwroot/cacti/rra/switchas_domain_com_traffic_in_99.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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 , does the rrd file get created?

Try rrdtool 1.2.11 while you're at it.
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Post by lightningbit »

BSOD2600 wrote:If you manually run a create commnd, like rrdtool create D:/Wwwroot/cacti/rra/switchas_domain_com_traffic_in_99.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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 , does the rrd file get created?

Try rrdtool 1.2.11 while you're at it.
ah yes... it does.... the file is now there
so... no user permission issue?
I tried with RRDTOOL 1.2.10
I will try again 1.2.11
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests