免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2422 | 回复: 3
打印 上一主题 下一主题

[Web] RH cacti [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-10 18:46 |只看该作者 |倒序浏览
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 该如何设置。

[ 本帖最后由 liang3391 于 2008-9-10 19:02 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-09-11 09:38 |只看该作者
编辑snmp.conf
添加:
view all included .1
access  notConfigGroup ""      any       noauth    exact  all none none

论坛徽章:
0
3 [报告]
发表于 2008-09-11 10:27 |只看该作者

现在的 cacti.log:

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"

论坛徽章:
0
4 [报告]
发表于 2008-09-11 13:09 |只看该作者
snmp设置很简单,,基本上都不用做多大的改动,可以到google里看一下,你就明白了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP