i have just set up cacti(0.8.6h_p20060108-r2) in conjunction with cactid(0.8.6f_p1) on a gentoo system. I can browse the cacti admin page and I am able to configure devices and graphs. But I dont see any graphs...
I have ran the following command once to create the initial graphics.
Code: Select all
php /var/www/localhost/htdocs/cacti/poller.php
Code: Select all
*/5 * * * * root php /var/www/localhost/htdocs/cacti/poller.php > /dev/null 2>&1
this is what my cacti log looks like
Code: Select all
View Cacti Log File [24 Items]
11/06/2006 08:40:02 PM - SYSTEM STATS: Time:1.0783 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:35:02 PM - SYSTEM STATS: Time:1.0758 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:30:03 PM - SYSTEM STATS: Time:1.0499 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:25:02 PM - SYSTEM STATS: Time:1.0742 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:24:20 PM - SYSTEM STATS: Time:1.0500 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:21:55 PM - SYSTEM STATS: Time:1.0334 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:20:02 PM - SYSTEM STATS: Time:1.0367 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:19:30 PM - SYSTEM STATS: Time:1.0472 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:17:52 PM - SYSTEM STATS: Time:1.0459 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:17:51 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:15:02 PM - SYSTEM STATS: Time:1.0946 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:15:01 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:10:30 PM - SYSTEM STATS: Time:1.0472 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:10:30 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:10:23 PM - SYSTEM STATS: Time:1.0760 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:10:22 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:10:18 PM - SYSTEM STATS: Time:1.0368 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:10:17 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:10:02 PM - SYSTEM STATS: Time:1.0656 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:10:02 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 08:08:16 PM - SYSTEM STATS: Time:1.1108 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/06/2006 08:08:15 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/06/2006 06:46:15 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select snmp_query.id, snmp_query.name, snmp_query.xml_path from (snmp_query,host_snmp_query) where host_snmp_query.snmp_query_id=snmp_query.id and host_snmp_query.host_id= order by snmp_query.name"
11/06/2006 06:46:15 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select graph_local.graph_template_id from (graph_local,host_graph) where graph_local.graph_template_id=host_graph.graph_template_id and graph_local.host_id=host_graph.host_id and graph_local.host_id= group by graph_local.graph_template_id"
Code: Select all
sszh0032 cacti # ls -la rra
total 8
drwxr-xr-x 2 apache apache 4096 Nov 6 18:11 .
drwxr-xr-x 10 root root 4096 Nov 6 18:11 ..
-rw-r--r-- 2 root root 0 Nov 6 18:11 .placeholder
Code: Select all
sszh0032 cacti # ls -ld rra
drwxr-xr-x 2 apache apache 4096 Nov 6 18:11 rra
I am trying to create graphs from a windows 2000 server with SNMP Informant installed.
Which point in my configuration did have I missed. Is there any way to check that the snmp information gathering works properly?
Any help would be greatly appreciated. Thanks in advance.
Cheersen
Matze