Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I found the problem but I don't know how to resolve it. When I create a new graph in cacti on debug mode the last line of rrdtool's commands comes with an extra slash "\" that's the reason why when cacti tries to search rdd file it doesnt find it. If i run the same comands without this "\" from CLI the file is created and cacti shows me the graph.
#rrdtool create \
/opt/lampp/htdocs/cacti/rra/test.rrd \
-s 300 \
DS:escritorio:GAUGE:600:-10:60 \
DS:exterior:GAUGE:600:-10:60 \
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 \ this is extra slash that don't let to create .rrd file
I dont want to create this file manually forever
now the question is : how can i remove this slash from cacti ?
The second questions is
how can I check if my poller.php is working? 'cause i run poller from cli and I don't have any answer It only shows me this:
[root@localhost cacti]# php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.9
I think this is the reason why my graph doesn't show me any data
arevelo wrote:I found the problem (....) rrdtool's commands comes with an extra slash ""
Just to be sure: can it not be that the apache user has not writing rights on /opt/lampp/htdocs/cacti/rra/ ? And that the user you use to run CLI has the rights ?
I know that this is an old post but I'd like to add one note:
The poller does not create the rrd files if the device is disabled. If you have checked all other things (file permissions etc.) you might want to check that also
gandalf wrote:A screenshot of the graph from graph management, debug mode, please
R.
Hello
I have imported an rrd file and database from a 32bits system to 64 bits new system. I use the XML export – import features. ‘’old graph ‘’ are correctly updated on new installation. But I have the same issue for new graph : unable to create rrd files. Even if i start from a cacti template file . I force directory rra to chmod 777 for debugging.: n oimprovement
Here are some snapshot of two graph , on the new system : one is the result of xml import ; second is a nok graph, that I tried to build today.
May be a data source file issue?
Thank’s for your help.
I think this thread has like 3 different issues that are not necessarily the same.
The symptom is the same - "rrd file not found", but there is more than one cause for that I reckon.
It'd be wise to open a new thread and add more information after following the steps and advice on this page: