gandalf wrote:What's the result of calling poller.php manually? Did you configure include/config.php to setup database access?
Reinhard
First off let me thank you for the help you're providing.
It's very appreciated!
Here's my efforts in calling poller.php manually.
root@dallas:/var/www/cacti# php /var/www/cacti/poller.php
root@dallas:/var/www/cacti#
As you can see above, there is no output from calling poller.php. In addition, no files have appeared in /var/www/cacti/rra/.
I do have the include/config.php file configured for my DB information.
Here's the relevant lines from include/config.php
Code: Select all
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "NOT_PUTTING_MY_PWD_ON_THE_NET";
$database_port = "3306";
I can verify the database is created and working correctly with the credentials above by using the mysql command line with the following method:
Code: Select all
root@dallas:/var/www/cacti/include# mysql -u cacti -pNOT_PUTTING_MY_PWD_ON_THE_NET
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 178 to server version: 5.0.22-Debian_0ubuntu6.06.3-log
mysql> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+---------------------------+
| Tables_in_cacti |
+---------------------------+
| cdef |
| cdef_items |
| colors |
| data_input |
| data_input_data |
| data_input_fields |
| data_local |
| data_template |
| data_template_data |
| data_template_data_rra |
| data_template_rrd |
| graph_local |
| graph_template_input |
| graph_template_input_defs |
| graph_templates |
| graph_templates_gprint |
| graph_templates_graph |
| graph_templates_item |
| graph_tree |
| graph_tree_items |
| host |
| host_graph |
| host_snmp_cache |
| host_snmp_query |
| host_template |
| host_template_graph |
| host_template_snmp_query |
| poller |
| poller_command |
| poller_item |
| poller_output |
| poller_reindex |
| poller_time |
| rra |
| rra_cf |
| settings |
| settings_graphs |
| settings_tree |
| snmp_query |
| snmp_query_graph |
| snmp_query_graph_rrd |
| snmp_query_graph_rrd_sv |
| snmp_query_graph_sv |
| user_auth |
| user_auth_perms |
| user_auth_realm |
| user_log |
| version |
+---------------------------+
48 rows in set (0.00 sec)
mysql>