免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: joecen
打印 上一主题 下一主题

我的CACTI--FAQ [复制链接]

论坛徽章:
0
61 [报告]
发表于 2006-01-10 16:01 |只看该作者
原帖由 windychan 于 2006-1-9 09:52 发表
那有钱买多CPU服务器哦


你的cacti监测的点多不多?用cmd.php还是cactid进行数据采集?

论坛徽章:
0
62 [报告]
发表于 2006-02-04 10:44 |只看该作者
我用的是fedora4 ,编译rrdtool的时候提示2个错误
就是运行make后末尾出现如下错误
../src/config_aux.h:80:2: error: #error "Can't compile without finite function"
../src/config_aux.h:84:2: error: #error "Can't compile without isinf function"
make[3]: *** [RRDs.o] Error 1
make[3]: Leaving directory `/km/cacti/rrdtool-1.0.50/perl-shared'
make[2]: *** [perl_shared] Error 2
make[2]: Leaving directory `/km/cacti/rrdtool-1.0.50'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/km/cacti/rrdtool-1.0.50'
make: *** [all] Error 2
该怎么解决呢? 大侠帮忙一下呀,谢谢了

论坛徽章:
0
63 [报告]
发表于 2006-02-17 10:03 |只看该作者

难道就没人遇到这情况吗?

好奇怪哦~
我都重新安装好多次了,还是出现这错误

论坛徽章:
0
64 [报告]
发表于 2006-02-25 17:44 |只看该作者
我小鸟一只
刚对着教程装了个cacti
默认的初始用户名和密码:admin  admin
我改了下成了 *;*

我关了网页再开,输入密码就进不去了

用admin    admin   也不行


请问怎么找回密码或者破解密码啊?

论坛徽章:
0
65 [报告]
发表于 2006-03-27 14:15 |只看该作者
在新建的devices中
SNMP Username (v3)
Fill in the SNMP v3 username for this device.   
SNMP Password (v3)
Fill in the SNMP v3 password for this device. 应该怎么填写呀》谢谢!

论坛徽章:
0
66 [报告]
发表于 2006-03-29 16:14 |只看该作者
原帖由 exitgogo 于 2006-3-27 14:15 发表
在新建的devices中
SNMP Username (v3)
Fill in the SNMP v3 username for this device.   
SNMP Password (v3)
Fill in the SNMP v3 password for this device. 应该怎么填写呀》谢谢!


确定你使用的snmp版本,如果不是snmpv3即不需要填写snmpv3的部分。

论坛徽章:
0
67 [报告]
发表于 2006-05-23 13:55 |只看该作者

回复 SNMP - Interface Statistics 抓不到网卡流量

我安装cacti后,可以监控到cpu/mem等信息,但通过SNMP - Interface Statistics 抓不到网卡流量,请高手指点,谢谢!!

我的系统环境为:
RH4+mysql-4.0.12+rrdtool-1.2.13+cacti-0.8.6h+snmp-5.1.2+apache2+php4.3.x

[root@MysqlSVR snmp]# rpm -qa|grep snmp
net-snmp-devel-5.1.2-11
net-snmp-utils-5.1.2-11
net-snmp-perl-5.1.2-11
net-snmp-libs-5.1.2-11
net-snmp-5.1.2-11
[root@MysqlSVR snmp]# /usr/local/rrdtool/bin/rrdtool --version |head -n 1
RRDtool 1.2.13  Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
[root@MysqlSVR snmp]# ls /home/cacti/cacti-0.8.6h.tar.gz
/home/cacti/cacti-0.8.6h.tar.gz

以下是在Data Query下的debug信息:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='1'] index: 3 [from value]
+ Found item [ifOperStatus='2'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='eth0'] index: 2 [from value]
+ Found item [ifDescr='eth1'] index: 3 [from value]
+ Found item [ifDescr='sit0'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Found item [ifType='6'] index: 3 [from value]
+ Found item [ifType='131'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='100000000'] index: 2 [from value]
+ Found item [ifSpeed='100000000'] index: 3 [from value]
+ Found item [ifSpeed='0'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:0D:56:BB:B7:BC'] index: 2 [from value]
+ Found item [ifHwAddr='00:0D:56:BB:B7:BD'] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.0.8'] index: 2 [from regexp oid parse]
+ Found item [ifIP='10.10.1.19'] index: 3 [from regexp oid parse]
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'

论坛徽章:
0
68 [报告]
发表于 2006-06-05 16:43 |只看该作者
06/05/2006 04:32:04 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid.  Partial Result:
06/05/2006 04:32:04 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid.  Partial Result:
06/05/2006 04:32:06 PM - SYSTEM STATS: Time:2.1238 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSour
ces:17 RRDsProcessed:12


日志中的内容,现在不能显示图片,我参照上面的方法都做了检测了,rra目录下不能生成rrd图片,权限和路径都没问题

论坛徽章:
0
69 [报告]
发表于 2006-06-07 17:27 |只看该作者
偶很郁闷,什么都有,就是没图片,用的是rrdtool1。2。10,cacti0。86g 在rra目录下有rrd文件,但一点点别的,就什么也没有,没有图片,为什么呢

论坛徽章:
0
70 [报告]
发表于 2006-06-13 19:28 |只看该作者
原帖由 风流涕淌 于 2006-6-7 17:27 发表
偶很郁闷,什么都有,就是没图片,用的是rrdtool1。2。10,cacti0。86g 在rra目录下有rrd文件,但一点点别的,就什么也没有,没有图片,为什么呢


将 rrdtool改回1.0的版本试试。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP