cacti does not re-create graph after delete rrd manually

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

Moderators: Developers, Moderators

Post Reply
hugocheng121
Posts: 3
Joined: Thu Aug 02, 2018 3:46 am

cacti does not re-create graph after delete rrd manually

Post by hugocheng121 »

Hi guys, for some reason I have to change data profile for all existing graphs (hundreds graphs)
I google and please correct me if I am wrong, the easy way to do so is

- change the data profile for the graph (will use data_template_associate_rra.php when bulk)

- delete the rrd file from var/lib/cacti/rra manually

- wait for cacti to re-create the graph automatically

however, I only tried one graph and change the data profile from web UI, delete that rrd file, and cacti does not re-create the graph, performed rebuild poller cache still nothing...

grateful if anyone could help on this!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cacti does not re-create graph after delete rrd manually

Post by netniV »

Check the folder permissions. Likelihood is that you have had permissions set that allow read/write of the RRD but not at the folder level so can't create a new one.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
hugocheng121
Posts: 3
Joined: Thu Aug 02, 2018 3:46 am

Re: cacti does not re-create graph after delete rrd manually

Post by hugocheng121 »

Thanks for reminding !
I applied chmod 777 to two sub directories.
/var/lib/cacti
/var/lib/cacti/rra
Still nothing, anywhere else I need to check permission too?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests