Cacti doesn't create graphs

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
luumanio
Posts: 1
Joined: Mon Feb 20, 2012 2:00 pm

Cacti doesn't create graphs

Post by luumanio »

Hi,

I'm Linux/Cacti beginner and I've just installed and configured Cacti 0.8.7i on Ubuntu Server 11.10. All looks good, I can access Cacti control panel, all devices are connected via SNMP and Cacti status shows UP on all of my devices, however Cacti doesn't create graphs for it.

I read here http://www.cacti.net/downloads/docs/htm ... ml#AEN2499 that there might be some problems with permissions. I run the ls -al rra/ command in /var/www/cacti directory and I get following results:

Code: Select all

total 536
drwxrwxrwx  2 root          root            4096 2012-02-20 18:14 .
drwxr-xr-x 13 root          root            4096 2012-02-20 12:52 ..
-rw-rw-r--  1 administrator administrator  94824 2012-02-20 19:10 cisco_881_traffic_in_8.rrd
-rw-rw-r--  1 administrator administrator  94824 2012-02-20 19:10 cisco_881_traffic_in_9.rrd
-rwxrwxrwx  1 root          root              33 2012-02-20 12:52 .htaccess
-rw-rw-r--  1 administrator administrator 141648 2012-02-20 19:10 localhost_load_1min_5.rrd
-rw-rw-r--  1 administrator administrator  48000 2012-02-20 19:10 localhost_mem_buffers_3.rrd
-rw-rw-r--  1 administrator administrator  48000 2012-02-20 19:10 localhost_mem_swap_4.rrd
-rw-rw-r--  1 administrator administrator  48000 2012-02-20 19:10 localhost_proc_7.rrd
-rw-rw-r--  1 administrator administrator  48000 2012-02-20 19:10 localhost_users_6.rrd
I'm nor really sure if I have the right permissions for it. I have created DB (cacti) with default Cacti user name: cactiuser and password.

Do I have to amend the permissions for the rra directory in that case, if yes how can I do it, I mean change the permission from administrator to cactiuser.

Regards,
Luu Manio
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti doesn't create graphs

Post by gandalf »

The DB user "cactiuser" and the OS user "cactiuser" are two completeyl seperated identities. You are using "administrator" as the OS user which is perfectly fine assuming that you applied all permissions to that user and are running the poller from crontab as "administrator" as well.
See 1st link of my sig for more installation instructions
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests