Blank Graphs - Windows Vista SP1

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

Moderators: Developers, Moderators

Post Reply
alexmakan
Posts: 5
Joined: Fri Oct 16, 2009 7:00 am

Blank Graphs - Windows Vista SP1

Post by alexmakan »

I have installed cacti on vista laptop but all my graphs are blank and i doubt if its a RRD Error, as below. I have scheduled task for PHP.exe every 5 mins but still blank. Any help with this.

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco831 - Traffic - Et0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/cisco831_traffic_in_50.rrd":traffic_in:AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/cisco831_traffic_in_50.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=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" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total Out\: 0 bytes\n"

RRDTool Says:

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

Post by BSOD2600 »

alexmakan
Posts: 5
Joined: Fri Oct 16, 2009 7:00 am

Post by alexmakan »

Hi BSOD2600

I went thro' your post but din't come up with anything......i have attached the tech file and rrdtool output herewith.
Operating System: Windows Vista SP1
Webserver: IIS6
Cacti: 0.8.7e
Spine:not installed
MySQL:5.0.86
PHP:5.2.11
RRDTool (Cygwin or Win32 version): 1.2.X
Net-SNMP:5.2.X
Cygwin (cygwin1.dll version):not installed
Plugin Architecture:Cisco SOHO 831 to my laptop
Attachments
rrdtool.txt
(1016 Bytes) Downloaded 106 times
tech info.txt
(16.54 KiB) Downloaded 199 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

All looks good so far.

Change the logging level for cacti.log to Medium or higher. Watch what gets returned for 'Cisco831 - Traffic - Et0'.
alexmakan
Posts: 5
Joined: Fri Oct 16, 2009 7:00 am

Post by alexmakan »

Hi BSOD2600

Thanks alot for your assistance but i still get blank graphs. Attached is the cacti log file and et0 graph.
Attachments
log.txt
(2.75 KiB) Downloaded 127 times
eth0.JPG
eth0.JPG (84.1 KiB) Viewed 3288 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Everything looks in order in terms of data being returned. check the permissions on the RRA directory.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
alexmakan
Posts: 5
Joined: Fri Oct 16, 2009 7:00 am

Post by alexmakan »

Hi mcutting

Checked file permissions on RRA and seem alright, attached herewith.
Attachments
RRA permissions.JPG
RRA permissions.JPG (47.75 KiB) Viewed 3267 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Cisco831 is Host[10]?

Was that logging level medium or debug? If debug, I didn't see any rrdtool commands, which would be a problem...

The user for the cacti scheduled task, launches php.exe, which in tern launches cmd.exe, which in tern launches rrdtool.exe. cmd.exe, php.exe, and rrdtool.exe need to have read/execute permissions for the cacti scheduled task user. do they?
alexmakan
Posts: 5
Joined: Fri Oct 16, 2009 7:00 am

Post by alexmakan »

Hi BSOD2600

Yeah, its host 10.

Its on medium logging level. Full file permissions for all the files you mentioned.

I want to implement on a larger network of cisco 7606 but crap, can't even get this 831 working.

Would it be wise to delete all graphs and data sources and add host afresh?
Attachments
rrdtool.JPG
rrdtool.JPG (47.09 KiB) Viewed 3233 times
cmd.JPG
cmd.JPG (47.38 KiB) Viewed 3233 times
php.JPG
php.JPG (47.03 KiB) Viewed 3233 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Unless your scheduled task and website run under the Administrators OU, then the NTFS permissions are not set up correctly, per the installation guide. Please review the guide again.

No point deleting graphs yet, since it doesn't appear things are set up correctly.
mon22oct
Posts: 11
Joined: Fri Oct 16, 2009 11:14 am

Post by mon22oct »

Hi ,
I am facing the same issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests