path to rra

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

path to rra

Post by sepp »

hi,

quick one (I guess): where can I change the path to rra?

I just installed plugin-arch and finally cacti is running again (sad, but I am trying this since 2 months...). Now I have one problem left: it seems with the new installation the path to rra was changed.

I have the files in /usr/share/cacti/site/rra

how can I tell this to cacti? I searched in the php files, but couldn't find the path.

many thanks!

//seb


edit: cacti now looks in /var/lib/cacti/rra, but that I dont want
edit2: and I dont want to change it in all my x-thousend existing graphs...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

How did you install plugin arch? Full file replacement?
Last resort would be symlinking the wrong to the old directory, but we should find the root cause instead
Reinhard
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

hi reinhard,

sorry for my very late answer - you know how busy times can be. now something funny happened. As I said (did I) I simply copied the files with a shell script to the other directory.

First cacti was looking in /var/lib/cacti/rra. Before the system looked in /usr/share/cacti/site/rra. Now a colleague created a new graph for an exsiting device and cacti stopped graphing. I checked the directories and it seems like now cacti is updating the rras in /usr/share/cacti/site/rra, but it looks for data in /var/lib/cacti/rra. that is why it is not graphing anymore. And the worst thing is that I cannot find a way to change this.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What is cacti's root directory?
Anything special in httpd.conf for this?
What is the current rra directory you want cacti to store data in?
Which version of cacti used?

Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests