Another "no graphs, no RRD file" prob

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

Moderators: Developers, Moderators

Post Reply
jas0420
Cacti User
Posts: 91
Joined: Thu Jan 13, 2005 3:58 pm
Location: College Station, TX - USA

Another "no graphs, no RRD file" prob

Post by jas0420 »

Hi folks. I've been using an older version of Cacti very successfully on another box for many months now. It's finally sunk in with the powers that be that this is useful info, so they've given me a nice server to move it to.

I decided to start from scratch with a completely fresh install on the new box and can't seem to get it going. Seem to be having a prob that many others are having... All indications are that it polls just fine both manually from the cmd prompt (both cmd.php and poller.php) and automatically through a scheduled task. My log file is chock-full of entries like this where it has a valid result and claims to be creating/updating the RRD file. They just simply don't get created though.
07/06/2005 03:35:09 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\apachefriends\xampp\cacti\rra\router_atlanta_10_80_0_1_traffic_in_44.rrd --template traffic_out:traffic_in N:1610304361:2818026174
07/06/2005 03:35:09 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\apachefriends\xampp\cacti/rra/router_atlanta_10_80_0_1_traffic_in_44.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 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
07/06/2005 03:35:09 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\apachefriends\xampp\cacti\rra\router_atlanta_10_80_16_1_5min_cpu_70.rrd --template 5min_cpu N:6
07/06/2005 03:35:09 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\apachefriends\xampp\cacti/rra/router_atlanta_10_80_16_1_5min_cpu_70.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 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 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
07/06/2005 03:35:09 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\apachefriends\xampp\cacti\rra\router_atlanta_10_80_16_1_cisco_iomem_127.rrd --template cisco_iomem N:28560224
I did go "lazy" this time and install a packaged Apache/MySQL/PHP install kit from "Apachefriends" called XAMPP.

On my Win2K3 server with Cacti 8.6f, it installed:
PHP 5.0.4
Apache HTTPD 2.0.54
MySQL 4.1.12

I manually added Cygwin 1.5.18-1
I also started out with the release version of RRDTOOL 1.2.10 but found TheWitness' announcement in this forum that it was incompatible, so I switched to the cygwin version that is on cacti.net (1.2.10 again). I have verified that Cacti is set to use the 1.2.x version. I was unable to locate a "fonts" folder in either install of RRDTOOL, so that path setting has remained blank in Cacti.

I've given the RRA and LOG folders "full" access to both the logged in user and later to "everyone" with no improvement.

I've tried to help myself here by reading through the forum, but as of yet I haven't seen an answer that has resolved this for me.

Any ideas?

Many thanks,
Jason
jas0420
Cacti User
Posts: 91
Joined: Thu Jan 13, 2005 3:58 pm
Location: College Station, TX - USA

Update...

Post by jas0420 »

I should have tried this earlier, but I just dropped down to RRDTool 1.0.49 and it started creating the RRD files right away. The graphs still showed as a "missing picture", but once I changed the setting in Cacti to use RRDTool 1.0.x the graphs came right up too.

1.2 had some nifty features... Anybody had any luck getting it to cooperate on Windows?

Also, now that it is running, I noticed something that doesn't happen on my older install... When I view (from my workstation here) the graph page of a device, as the HTML page builds, on the server a CMD window pops up in a cascading manner for a split second for each and every graph that is built. Do I need to do the "run it under a different user trick" like for poller to make that go away or is there a setting that I'm missing?

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

Post by BSOD2600 »

I've successfully used rrdtool 1.2.9 on Win2K3 to generate graphs. Never tried to create a rrd file. Although, I don't use it full time because it takes a lot longer to generate the images on my slow server and the png sizes are 500% larger.

Hmm, I've never experienced the cmd windows popping up for each graph created, even when my cacti user account was logged locally onto the server. Did you set up the server so that the web user account to use something other than the 'network service' account? That would likely explain why you're seeing additional cmd window popups. So yes, using another account, which would effectively hide them would be the solution.
jas0420
Cacti User
Posts: 91
Joined: Thu Jan 13, 2005 3:58 pm
Location: College Station, TX - USA

Post by jas0420 »

XAMPP did all of the setup on Apache, et. all... I bet you're right though... It probably ran it all under the user account that I was working in. I'll take a peek when I get into the office today.

Thanks!
Jason
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests