RH cacti

RH cacti

redhat  cacti  只能监视本机的数据,出图形,却不能监视其他的机器出图形。可能是什么原因?
这是 cacti.log:

ity = '0'  where hostname = '192.168.0.1'"
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] Time: 2.0556 s, Theads: N/A, Hosts: 3
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select  poller_output.output,  poller_output.time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  "
09/10/2008 06:00:04 PM - SYSTEM STATS: Time:2.1638 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:18 RRDsProcessed:0
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:2.1638 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:18 RRDsProcessed:0')"
09/10/2008 06:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"




不清楚 snmp 该如何设置。

编辑snmp.conf
添加:
view all included .1
access  notConfigGroup ""      any       noauth    exact  all none none
09/10/2008 11:00:03 PM - CMDPHP: Poller[0] Time: 2.1890 s, Theads: N/A, Hosts: 4
09/10/2008 11:00:03 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
09/10/2008 11:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
09/10/2008 11:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select  poller_output.output,  poller_output.time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  "
09/10/2008 11:00:04 PM - SYSTEM STATS: Time:3.2176 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:19 RRDsProcessed:0
09/10/2008 11:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:3.2176 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:19 RRDsProcessed:0')"
09/10/2008 11:00:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
snmp设置很简单,,基本上都不用做多大的改动,可以到google里看一下,你就明白了