[solved] Another "No Graphs" Issue.

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

Moderators: Developers, Moderators

Post Reply
tonybemidji
Posts: 9
Joined: Wed Mar 28, 2012 3:03 pm

[solved] Another "No Graphs" Issue.

Post by tonybemidji »

Installed from the most recent all in one package on a fresh install of Windows XP.

Everything seems to be functioning except for the creation of the .rrd files in the Apache directory. I have added one device, created graphs and see the graph links in all views, but I get broken images instead of graphs.

The poller is running without errors. At first it was set to run as the Admin user and I just recently changed it to the System user with no effect.

The following is an excerpt from the log (poller log in debug mode) :

03/28/2012 01:40:01 PM - SYSTEM STATS: Time:1.0333 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:4 RRDsProcessed:2
03/28/2012 01:40:01 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\3\16.rrd --template traffic_out:traffic_in N:1777989097:6776488
03/28/2012 01:40:01 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe create C:/Apache2/htdocs/cacti/rra/3/16.rrd --step 300 DS:traffic_in:COUNTER:600:0:1000000000 DS:traffic_out:COUNTER:600:0:1000000000 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:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN: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
03/28/2012 01:40:01 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\3\17.rrd --template traffic_in:traffic_out N:191998467:1404967908
03/28/2012 01:40:01 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe create C:/Apache2/htdocs/cacti/rra/3/17.rrd --step 300 DS:traffic_in:COUNTER:600:0:1000000000 DS:traffic_out:COUNTER:600:0:1000000000 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:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN: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
03/28/2012 01:40:01 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe create C:/Apache2/htdocs/cacti/rra/3/16.rrd --step 300 DS:traffic_in:COUNTER:600:0:1000000000 DS:traffic_out:COUNTER:600:0:1000000000 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:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN: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
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Time: 0.0458 s, Theads: N/A, Hosts: 2
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] DS[16] SNMP: v2: 10.2.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10101, output: 6776488
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] DS[16] SNMP: v2: 10.2.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10101, output: 1777989097
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] DS[17] SNMP: v2: 10.2.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10102, output: 191998467
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] DS[17] SNMP: v2: 10.2.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10102, output: 1404967908
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 854450818
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '10.2.0.1'.
03/28/2012 01:40:01 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
03/28/2012 01:40:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/php/php.exe, ARGS: -q "c:/apache2/htdocs/cacti/cmd.php" 0 3]
03/28/2012 01:40:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'

Looking in C:\Apache2\htdocs\cacti\rra\3\ I see nothing. As a test I created an empty text file just to be sure I had permissions to do so.

Note: I just added a new device and created three graphs for that device. In the scheme of things it is device "4". So I see now that a new directory was created ... "C:\Apache2\htdocs\cacti\rra\4" but no .rrd files created within.

Not sure how to proceed from here.
rdparab31
Posts: 3
Joined: Wed Nov 16, 2011 6:55 am

Re: Another "No Graphs" Issue.

Post by rdparab31 »

Hi ............... me facing the same problem....of no graphs.........When i turn on Graph Debug mode.......i get


RRDTool Says:

ERROR: reading the cookie off C:/CACTISW/Apache2/htdocs/cacti/rra/13/21.rrd failed



M a novice to this Cacti............Can anybody please help ?
Thanx in advance....
tonybemidji
Posts: 9
Joined: Wed Mar 28, 2012 3:03 pm

Re: Another "No Graphs" Issue.

Post by tonybemidji »

rdparab31 wrote:Hi ............... me facing the same problem....of no graphs.........When i turn on Graph Debug mode.......i get


RRDTool Says:

ERROR: reading the cookie off C:/CACTISW/Apache2/htdocs/cacti/rra/13/21.rrd failed



M a novice to this Cacti............Can anybody please help ?
Thanx in advance....
Could you please start your own topic?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Another "No Graphs" Issue.

Post by BSOD2600 »

tonybemidji:
Look through your cacti.log. Is it executing 'rdtool.exe create' and 'rrdtool.exe update' commands on EVERY polling cycle? If so, this is a sign of incorrect NTFS permissions for the C:\Apache2\htdocs\cacti\rra\ folder/subfolders. double-check they're correctly configured per the Windows install instructions (http://docs.cacti.net/).
tonybemidji
Posts: 9
Joined: Wed Mar 28, 2012 3:03 pm

Re: Another "No Graphs" Issue.

Post by tonybemidji »

Thanks for the reply. I think it was a permissions issue. I tinkered with the scheduled task user and that likely messed things up.

I've since wiped the whole build, installed IIS and then reinstalled the entire package and now have graphs.

Unfortunately I had some time issues as well and so am waiting to see if I start to get data with the correct time stamps.
tonybemidji
Posts: 9
Joined: Wed Mar 28, 2012 3:03 pm

Re: Another "No Graphs" Issue.

Post by tonybemidji »

Success. Started from scratch one last time. Made sure that the poller task was set to run as the proper user and now things are working very well. Again, this is after a switch to IIS, but I'm sure that has little to do with it.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests