Moved RRD directory to other disk on the server after that no graphs

Hello,

I have moved the rrd-directory (/opt/librenms/rrd) to a extended drive because de space on the root drive was almost full.

I have copy all the RRD-files to the new disk. I have change config.php with
$config[‘rrd_dir’] = ‘/new/path/’;

But i don’t see the graphs any more.
Please help me?

kind regards,

Jorg Schrievers

What does ./validate.php tell you?
Also, are you using RRDcached? If yes, have a look here. Make sure you have PATH and permission fixed.

1 Like

Hello Paulierco,

Thanks for your replay.
You are right i forgot the RRDchached. I have add the new directory to it.
I’ll have wait for more then 15 min and still no graphs.

./validate.php say everything is ok.

about the PATH and permissiond i have done the following.

chown -R librenms:librenms /opt/librenms
setfacl -d -m g::rwx /new/path/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
chmod -R ug=rwX /new/path/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/

Is there more i can do?

Thanks

Jorg Schrievers

Have you restart rrdcached service? It should load the new configuration.

Hello Paulierco,

You are right the restart did the trick. I thought i did that the first time.

Everything works again, thanks.

Kind regards

Jorg Schrievers

1 Like