Issue getting graphs to load - 0.8.8

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

Moderators: Developers, Moderators

Post Reply
sartoph
Posts: 5
Joined: Thu Apr 19, 2012 11:48 pm

Issue getting graphs to load - 0.8.8

Post by sartoph »

I'm just trying to get 0.8.8 configured for the first time in Win2k8 R2 and seem to be having some issues getting the graphs to display. There seems to be a couple of issues at play here, potentially one issue causing the other.

Operating System: Windows 2008 R2
Webserver: Apache 2.2.21
Cacti: 0.8.8
Spine: N/A
MySQL: 5.5.16
PHP: 5.3.8
RRDTool: Win32
Net-SNMP: 5.7.1
Cygwin (cygwin1.dll version): N/A
Plugin Architecture: 3.1

The first issue I've been trying to solve for the last few days is this:

RRDTool Command:
C:/rrdtool/data/rrd2/rrdtool-1.2.30/Release/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ASA5510 Firewall - Traffic - Inside" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/wamp/www/cacti/rra/asa5510_firewall_traffic_in_16.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/wamp/www/cacti/rra/asa5510_firewall_traffic_in_16.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
AREA:cdefa#00CF00FF:"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#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:
ERROR: opening 'C:/wamp/www/cacti/rra/asa5510_firewall_traffic_in_16.rrd': No such file or directory

I've followed through the Windows documentation, there is a cactiuser accounts created and it does have full permissions to the rra and log folders as well as the scheduling configured, though if I run the rrdtool command manually, i hit this round robin error which I'm unsure about. RRDTool is also set to 1.2.X in the admin settings.

C:\rrdtool\data\rrd2\rrdtool-1.2.30\Release>rrdtool.exe create C:/wamp/www/cacti/rra/o_switch_6_traffic_in_2994.rrd --step 300
ERROR: you must define at least one Round Robin Archive

After much searching around, I came across this thread:
http://forums.cacti.net/viewtopic.php?f ... ry#p228575

My devices all show as "Unknown" though, as described in that thread. In the FAQ for "unknown" devices, all it says it to check you have added graphs to the device in question, I can say that I have and the says it's all successful and active.

So my thinking was that if it was a poller issue, maybe I could try spine instead, except, on this page:
http://www.cacti.net/spine_download.php

The windows link, links back to that URL I just posted and if I go to the download page directly:
http://www.cacti.net/downloads/spine/packages/Windows/
There is no spine download for 0.8.8

So yep, I'm unsure where to troubleshoot from here, on a side note, is there a Windows installer in the works for 0.8.8 ? Would be happy to donate is there was.
sartoph
Posts: 5
Joined: Thu Apr 19, 2012 11:48 pm

Re: Issue getting graphs to load - 0.8.8

Post by sartoph »

Finally seem to have solved it.

Misunderstood step 12 when configuring the task scheduler:
http://docs.cacti.net/manual:088:1_inst ... gure_cacti

Solved it by installing the prepackaged 0.8.7i on a different machine and comparing the configuration from start to finish.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Issue getting graphs to load - 0.8.8

Post by BSOD2600 »

What additional information regarding the scheduler would be helpful?
sartoph
Posts: 5
Joined: Thu Apr 19, 2012 11:48 pm

Re: Issue getting graphs to load - 0.8.8

Post by sartoph »

Hi,
Thanks, I guess when I read it I didn't realise that I was meant to add the poller.php line to the add arguements field. Because the text in step 12 says "In the Run textbox enter the following text making sure to use the appropriate paths." I was thinking I needed to add both lines to the Program/script box with a ; separator. I guess I would break it down a bit further so each field corresponds with each parameter:

Action: Start a Program
Programs/script: c:\php\php.exe
Add arguements (optional): c:\mycacti\website\cacti\poller.php
Start in (optional): c:\mycacti\website\cacti

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

Re: Issue getting graphs to load - 0.8.8

Post by BSOD2600 »

Gotcha. Yea I'll update the 0.8.8 Windows instructions based off Windows 2008 in a bit.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest