Operating System - Linux
1753500 Members
3763 Online
108794 Solutions
New Discussion юеВ

Re: Cacti - config problem

 
SOLVED
Go to solution
Piotr Kirklewski
Super Advisor

Re: Cacti - config problem

Court Campbell
Honored Contributor

Re: Cacti - config problem

you can remove the cron entries. what is the output in /var/log/messages?
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Cacti - config problem

also can you post the output from

# ll /usr/share/cacti
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Piotr Kirklewski
Super Advisor

Re: Cacti - config problem

[root@jimlaptop cacti]# ll
total 848
-rw-r--r-- 1 cacti root 5892 2007-05-05 21:51 about.php
-rw-r--r-- 1 cacti root 4773 2007-05-05 21:51 auth_changepassword.php
-rw-r--r-- 1 cacti root 6203 2007-05-05 21:51 auth_login.php
-rw-r--r-- 1 cacti root 13108 2007-05-05 21:51 cdef.php
-rwxr-xr-x 1 cacti root 17023 2007-05-05 21:51 cmd.php
-rw-r--r-- 1 cacti root 5917 2007-05-05 21:51 color.php
-rw-r--r-- 1 cacti root 2846 2007-05-05 21:51 copy_cacti_user.php
-rw-r--r-- 1 cacti root 18387 2007-05-05 21:51 data_input.php
-rw-r--r-- 1 cacti root 28762 2007-05-05 21:51 data_queries.php
-rw-r--r-- 1 cacti root 45400 2007-05-05 21:51 data_sources.php
-rw-r--r-- 1 cacti root 31307 2007-05-05 21:51 data_templates.php
-rw-r--r-- 1 cacti root 6110 2007-05-05 21:51 gprint_presets.php
-rw-r--r-- 1 cacti root 3423 2007-05-05 21:51 graph_image.php
-rw-r--r-- 1 cacti root 10572 2007-05-05 21:51 graph.php
-rw-r--r-- 1 cacti root 6502 2007-05-05 21:51 graph_settings.php
-rw-r--r-- 1 cacti root 12446 2007-05-05 21:51 graphs_items.php
-rw-r--r-- 1 cacti root 30927 2007-05-05 21:51 graphs_new.php
-rw-r--r-- 1 cacti root 48109 2007-05-05 21:51 graphs.php
-rw-r--r-- 1 cacti root 10097 2007-05-05 21:51 graph_templates_inputs.php
-rw-r--r-- 1 cacti root 17367 2007-05-05 21:51 graph_templates_items.php
-rw-r--r-- 1 cacti root 23468 2007-05-05 21:51 graph_templates.php
-rw-r--r-- 1 cacti root 23261 2007-05-05 21:51 graph_view.php
-rw-r--r-- 1 cacti root 35150 2007-05-05 21:51 host.php
-rw-r--r-- 1 cacti root 15014 2007-05-05 21:51 host_templates.php
drwxr-xr-x 2 cacti root 4096 2007-06-19 11:44 images
drwxr-xr-x 5 cacti root 4096 2007-06-20 08:22 include
-rw-r--r-- 1 cacti root 2271 2007-05-05 21:51 index.php
drwxr-xr-x 2 cacti root 4096 2007-06-19 11:44 install
drwxr-xr-x 3 cacti root 4096 2007-06-19 11:44 lib
lrwxrwxrwx 1 cacti root 15 2007-06-19 11:44 log -> /var/log/cacti/
-rw-r--r-- 1 cacti root 1796 2007-05-05 21:51 logout.php
-rw-r--r-- 1 cacti root 4462 2007-05-05 21:51 poller_commands.php
-rw-r--r-- 1 cacti root 2399 2007-05-05 21:51 poller_export.php
-rwxr-xr-x 1 cacti root 9314 2007-05-05 21:51 poller.php
-rw-r--r-- 1 cacti root 4417 2007-05-05 21:51 poller_reindex_hosts.php
-rw-r--r-- 1 cacti root 4244 2007-05-05 21:51 rebuild_poller_cache.php
drwxr-xr-x 5 cacti root 4096 2007-06-19 11:44 resource
lrwxrwxrwx 1 cacti root 18 2007-06-19 11:44 rra -> /var/lib/cacti/rra
-rw-r--r-- 1 cacti root 7236 2007-05-05 21:51 rra.php
lrwxrwxrwx 1 cacti root 22 2007-06-19 11:44 scripts -> /var/lib/cacti/scripts
-rw-r--r-- 1 cacti root 7363 2007-05-05 21:51 script_server.php
-rw-r--r-- 1 cacti root 5148 2007-05-05 21:51 settings.php
-rw-r--r-- 1 cacti root 6813 2007-05-05 21:51 templates_export.php
-rw-r--r-- 1 cacti root 5954 2007-05-05 21:51 templates_import.php
-rw-r--r-- 1 cacti root 17958 2007-05-05 21:51 tree.php
-rw-r--r-- 1 cacti root 28925 2007-05-05 21:51 user_admin.php
-rw-r--r-- 1 cacti root 35851 2007-05-05 21:51 utilities.php
Jesus is the King
Court Campbell
Honored Contributor

Re: Cacti - config problem

Do the following

# cd /usr/share/cacti
# chown root *
# chown cacti.cacti -R rra log
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Cacti - config problem

sorry

# chown -R cacti.cacti rra log
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Piotr Kirklewski
Super Advisor

Re: Cacti - config problem

No graphs, but i Console >> Devices >>Localhost under SNMP Information - I get a message: SNMP error


[root@jimlaptop cacti]# ll
total 848
-rw-r--r-- 1 root root 5892 2007-05-05 21:51 about.php
-rw-r--r-- 1 root root 4773 2007-05-05 21:51 auth_changepassword.php
-rw-r--r-- 1 root root 6203 2007-05-05 21:51 auth_login.php
-rw-r--r-- 1 root root 13108 2007-05-05 21:51 cdef.php
-rwxr-xr-x 1 root root 17023 2007-05-05 21:51 cmd.php
-rw-r--r-- 1 root root 5917 2007-05-05 21:51 color.php
-rw-r--r-- 1 root root 2846 2007-05-05 21:51 copy_cacti_user.php
-rw-r--r-- 1 root root 18387 2007-05-05 21:51 data_input.php
-rw-r--r-- 1 root root 28762 2007-05-05 21:51 data_queries.php
-rw-r--r-- 1 root root 45400 2007-05-05 21:51 data_sources.php
-rw-r--r-- 1 root root 31307 2007-05-05 21:51 data_templates.php
-rw-r--r-- 1 root root 6110 2007-05-05 21:51 gprint_presets.php
-rw-r--r-- 1 root root 3423 2007-05-05 21:51 graph_image.php
-rw-r--r-- 1 root root 10572 2007-05-05 21:51 graph.php
-rw-r--r-- 1 root root 6502 2007-05-05 21:51 graph_settings.php
-rw-r--r-- 1 root root 12446 2007-05-05 21:51 graphs_items.php
-rw-r--r-- 1 root root 30927 2007-05-05 21:51 graphs_new.php
-rw-r--r-- 1 root root 48109 2007-05-05 21:51 graphs.php
-rw-r--r-- 1 root root 10097 2007-05-05 21:51 graph_templates_inputs.php
-rw-r--r-- 1 root root 17367 2007-05-05 21:51 graph_templates_items.php
-rw-r--r-- 1 root root 23468 2007-05-05 21:51 graph_templates.php
-rw-r--r-- 1 root root 23261 2007-05-05 21:51 graph_view.php
-rw-r--r-- 1 root root 35150 2007-05-05 21:51 host.php
-rw-r--r-- 1 root root 15014 2007-05-05 21:51 host_templates.php
drwxr-xr-x 2 cacti root 4096 2007-06-19 11:44 images
drwxr-xr-x 5 cacti root 4096 2007-06-20 08:22 include
-rw-r--r-- 1 root root 2271 2007-05-05 21:51 index.php
drwxr-xr-x 2 cacti root 4096 2007-06-19 11:44 install
drwxr-xr-x 3 cacti root 4096 2007-06-19 11:44 lib
lrwxrwxrwx 1 cacti cacti 15 2007-06-19 11:44 log -> /var/log/cacti/
-rw-r--r-- 1 root root 1796 2007-05-05 21:51 logout.php
-rw-r--r-- 1 root root 4462 2007-05-05 21:51 poller_commands.php
-rw-r--r-- 1 root root 2399 2007-05-05 21:51 poller_export.php
-rwxr-xr-x 1 root root 9314 2007-05-05 21:51 poller.php
-rw-r--r-- 1 root root 4417 2007-05-05 21:51 poller_reindex_hosts.php
-rw-r--r-- 1 root root 4244 2007-05-05 21:51 rebuild_poller_cache.php
drwxr-xr-x 5 cacti root 4096 2007-06-19 11:44 resource
lrwxrwxrwx 1 cacti cacti 18 2007-06-19 11:44 rra -> /var/lib/cacti/rra
-rw-r--r-- 1 root root 7236 2007-05-05 21:51 rra.php
lrwxrwxrwx 1 cacti root 22 2007-06-19 11:44 scripts -> /var/lib/cacti/scripts
-rw-r--r-- 1 root root 7363 2007-05-05 21:51 script_server.php
-rw-r--r-- 1 root root 5148 2007-05-05 21:51 settings.php
-rw-r--r-- 1 root root 6813 2007-05-05 21:51 templates_export.php
-rw-r--r-- 1 root root 5954 2007-05-05 21:51 templates_import.php
-rw-r--r-- 1 root root 17958 2007-05-05 21:51 tree.php
-rw-r--r-- 1 root root 28925 2007-05-05 21:51 user_admin.php
-rw-r--r-- 1 root root 35851 2007-05-05 21:51 utilities.php
Jesus is the King
Court Campbell
Honored Contributor

Re: Cacti - config problem

I guess that begs the question, is there an snmp daemon running on the host?

# service snmpd status

if not then

# chkconfig snmpd on
# service snmpd start
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Piotr Kirklewski
Super Advisor

Re: Cacti - config problem

service snmpd status
snmpd (pid 4591) is running...
Jesus is the King
Court Campbell
Honored Contributor

Re: Cacti - config problem

you might need to do to the admin page and click on devices. Then click on localhost and make sure that the snmp settings are correct. You are more than likely not seeing any graphs because there is no data to graph.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"