Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Oct 21, 2018 2:23 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RRDTool Says:...rrd': No such file or directory
PostPosted: Fri Apr 06, 2018 11:50 pm 
Offline

Joined: Fri Apr 06, 2018 11:48 pm
Posts: 1
Previously Cacti 0.8.7b, I have already installed the xampp 1.6.7 which is a application that includes a big package with php 5.2.6, Apache, filezilla and mysql all together at once, so I installed all these softwares on window xp in my computer and later, I installed the Cacti following the standard procedure led by the documentation, I started to work on it but there is a problem with my graphs, and I m afraid that is given to a error messages that comes out from the rrdtool application, the error is the following:

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/xampp/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE \
AREA:a#4668E4FF:"Users" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"
RRDTool Says:

ERROR: opening 'C:/xampp/htdocs/cacti/rra/localhost_users_6.rrd': No such file or directory


Top
 Profile  
 
 Post subject: Re: RRDTool Says:...rrd': No such file or directory
PostPosted: Sat Apr 07, 2018 6:09 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1519
The graph will normally be created from the RRD file. The RRD file is populated via the poller.php which is called by the task scheduler. If the poller is scheduled, then it could be that the data from the device isn't being returned properly so check your cacti logs, put the device in question into debug mode via Console -> Devices -> Edit Device or Console -> Settings -> Device Debug (if you know the id).

Also, make sure that the permissions on the RRD directory are valid for the users attempting to read/write from them. For the poller this may be a different user to the apache web user.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group