Problem on my Cacti graph : time frame of 2 hours drawned
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Thu Jun 18, 2009 8:21 am
Problem on my Cacti graph : time frame of 2 hours drawned
Hello all,
i need your help !
My cacti 0.8.7c is working fine... No errors on cacti-poller.log, etc ...
BUT on each graph, only a time frame of two hours is drawn .....
Before is deleted automatically ... And so on ...
Can you give me a clue to solve this strange issue ???
Thanks in advance !!!
Franck
i need your help !
My cacti 0.8.7c is working fine... No errors on cacti-poller.log, etc ...
BUT on each graph, only a time frame of two hours is drawn .....
Before is deleted automatically ... And so on ...
Can you give me a clue to solve this strange issue ???
Thanks in advance !!!
Franck
Re: Problem on my Cacti graph : time frame of 2 hours drawne
sounds like either something is deleting your datasources files ($cacti_home/rra) or they were created with a very strange step & heartbeat. for the first, you need to check to see if a process is deleting the files. for the second, I'd recommend a reinstall. Also, why not use 087d instead of 087c?franckboutet wrote:Hello all,
i need your help !
My cacti 0.8.7c is working fine... No errors on cacti-poller.log, etc ...
BUT on each graph, only a time frame of two hours is drawn .....
Before is deleted automatically ... And so on ...
Can you give me a clue to solve this strange issue ???
Thanks in advance !!!
Franck
-
- Posts: 6
- Joined: Thu Jun 18, 2009 8:21 am
Hi, many thanks for your answer !
In fact i have created the rra "by hand" with the same command seen on
"Turn on Data Source Debug Mode", because Cacti is not able to create them automatically. ("not able to set permissions").
I will try the last version and try to fix the problem of rra's creation.
Thanks.
In fact i have created the rra "by hand" with the same command seen on
"Turn on Data Source Debug Mode", because Cacti is not able to create them automatically. ("not able to set permissions").
I will try the last version and try to fix the problem of rra's creation.
Thanks.
You should never create the RRD by hand. Don't do this, it can only do bad things. It is the poller's job to create rrd. I would suggest you delete any RRD you created.franckboutet wrote:Hi, many thanks for your answer !
In fact i have created the rra "by hand" with the same command seen on
"Turn on Data Source Debug Mode", because Cacti is not able to create them automatically. ("not able to set permissions").
I will try the last version and try to fix the problem of rra's creation.
Thanks.
-
- Posts: 6
- Joined: Thu Jun 18, 2009 8:21 am
Hi, yes you are right.
I found what's going wrong !
Cacti is creting the rra files in /var/lib/cacti/rra but, when i create a graph base on a data source, Cacti is searching the rra in /var/share/cacti/rra !
Damned !
Maybe you know where to set the correct path in order to make Cacti create the files in the correct directory !
Tnaks again
Franck
I found what's going wrong !
Cacti is creting the rra files in /var/lib/cacti/rra but, when i create a graph base on a data source, Cacti is searching the rra in /var/share/cacti/rra !
Damned !
Maybe you know where to set the correct path in order to make Cacti create the files in the correct directory !
Tnaks again
Franck
I don't know of a way to set this in the GUI. This value is set at installation and probably stored in a MySQL table.franckboutet wrote:Hi, yes you are right.
I found what's going wrong !
Cacti is creting the rra files in /var/lib/cacti/rra but, when i create a graph base on a data source, Cacti is searching the rra in /var/share/cacti/rra !
Damned !
Maybe you know where to set the correct path in order to make Cacti create the files in the correct directory !
As a hint, in your Apache look for "DocumentRoot". This setting is where $CACTI_HOME is. (If RedHat this is usually something like cacti.conf in an Apache include directory installed by RPM).
Anyway, $CACTI_HOME/rra is the standard and I'm not aware of installs ever deviating except on purpose. What does
Code: Select all
ls -lat /var/lib/cacti /var/share/cacti | grep rra | grep -v rra.php
Code: Select all
sudo ln -s /var/lib/cacti/rra /var/share/cacti/rra
-
- Posts: 6
- Joined: Thu Jun 18, 2009 8:21 am
Who is online
Users browsing this forum: No registered users and 0 guests