论坛风格切换切换到宽版
  • 717阅读
  • 9回复

[问题求助]cacti问题 急 [复制链接]

上一主题 下一主题
 
发帖
2130
C币
-60329
威望
399
贡献值
1
银元
-1
铜钱
4691
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
配置好后始终没有图,rra目录下面没有文件..snmpwalk可以取到数据.在graph debug里面有这个报错,请高手帮忙看.一下<性病>
(我的cac.ti装在windows 2k上面的)          婚庆
c:/cact.i/rrdtool..exe graph - \[成人用品]
--imgfo.rmat=PNG \.
--start.=-86400 \域名
--end=-300 \
--title="wu.xgwb02 - CPU U.sage" \外贸
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-ma.x \             电子
--low.er-limit=0 \电影
--ve.rtical-label="percent" \.            杀毒
--slope-mode \
DEF:a="d\:/websi.te/cacti/.rra/wuxgwb02_cpu_system_13.rrd":c.pu_system:AVERAGE \.
D.EF:b="d\:/website./cacti/rra/wuxgwb02_cpu_user_14.rrd":cpu_user:AVERAGE \.
DEF:c="d\:/website/cacti/rra/wuxgwb02_cpu_.nice_12.r.rd":cpu_nice:AVERAGE \             汽车
CDEF:cdefbc=TIME,1171693034,GT,a,a,UN,0,a,IF.,IF,TIME,1171693034,GT,b,b,UN,0.,b,IF,IF,TIME,1171693034,.GT,c,c,UN,0,c,IF,IF,+,+ \.
AREA:a#FF0000:"System."  \.
G.PRINT:a:LAST:".Current\:%8.2lf %s"  \    美容
GPRINT:a:AVERAGE:"Averag.e.\:%8.2lf %s"  \          婚庆
GPRINT:a:MAX:"Maximum\:.%8.2.lf %s\n"  \             电子
AREA:b#0000FF:".User":.STACK \虚拟主机
GPRINT:b.:LAST:"  Curren.t\:%8.2lf %s"  \             电子
G.PRINT:b:AVERAGE:"Average\:%8..2lf %s"  \域名
GPRINT:b:MAX:".Maximum\:%8.2lf %s\.n"  \    健康
AREA:c#00FF00.:"Nice":STA.CK \.
GPRINT:c:.LAST:"  Current\:%8.2.lf %s"  \电影
GP.RINT:.c:AVERAGE:"Average\:%8.2lf %s"  \.
G.PRINT:c:MAX:"Maximum\:%.8.2lf %s\n"  \健康
LINE1:.cdefbc#000000:"To.tal"  \
GPRIN.T:cdefbc:LAST:" Current.\:%8.2lf %s"  \             电子
GPRINT:cdefbc:AVERAGE:"Av.erage\:%8.2lf %s".  \健康
GPRINT:cdefbc:M.AX.:"Maximum\:%8.2lf %s"     外汇
RRDTool Says:

ERROR: opening 'd:/website/cacti/rr.a/w.uxgwb02_cpu_syst.em_13.rrd': No such file or directory    美容

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2001
C币
-235944
威望
346
贡献值
1
银元
-2
铜钱
4319
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:cacti问题


QUOTE:原帖由 benton 于 2007-2-17 14:27 发表于 1楼  
ERROR: opening 'd:/website/cacti/rra/wuxgwb02_cpu_system_13.rrd': No such file or directory

这个是没有找到文件或文件夹

离线dummy111.
发帖
1989
C币
-605070
威望
359
贡献值
4
银元
0
铜钱
4426
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:cacti问题
为什么没有数据呢??能不能帮忙分析一下原因

离线samual142.
发帖
2122
C币
-60236
威望
412
贡献值
1
银元
-1
铜钱
4815
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:cacti问题
snmpwalk可以取道数据,权限是everyone,snmpwalk、snmpget和rrdtool的路径都没有问题

离线snakeart.
发帖
2156
C币
-198401
威望
397
贡献值
1
银元
-7
铜钱
4855
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:cacti问题
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'd:/website/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='16777219'] index: 16777219 [from value]
+ Found item [ifIndex='16777220'] index: 16777220 [from value]
+ Found item [ifIndex='16777221'] index: 16777221 [from value]
+ Found item [ifIndex='16777222'] index: 16777222 [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='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 16777219 [from value]
+ Found item [ifOperStatus='Down'] index: 16777220 [from value]
+ Found item [ifOperStatus='Down'] index: 16777221 [from value]
+ Found item [ifOperStatus='Down'] index: 16777222 [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='MS TCP Loopback interface'] index: 1 [from value]
+ Found item [ifDescr='HP NC7781 Gigabit Server Adapter'] index: 16777219 [from value]
+ Found item [ifDescr='HP NC7781 Gigabit Server Adapter'] index: 16777220 [from value]
+ Found item [ifDescr='HP NC7781 Gigabit Server Adapter'] index: 16777221 [from value]
+ Found item [ifDescr='HP NC7781 Gigabit Server Adapter'] index: 16777222 [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='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 16777219 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 16777220 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 16777221 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 16777222 [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: 16777219 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777220 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777221 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777222 [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:17:A4:8C:3A:2D'] index: 16777219 [from value]
+ Found item [ifHwAddr='00:16:35:C2:A0:9A'] index: 16777220 [from value]
+ Found item [ifHwAddr='00:16:35:C2:A0B'] index: 16777221 [from value]
+ Found item [ifHwAddr='00:16:35:C2:00:A2'] index: 16777222 [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='0.0.0.0'] index: 16777221 [from regexp oid parse]
+ Found item [ifIP='10.38.142.234'] index: 16777219 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found data query XML file at 'd:/website/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'd:/website/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'd:/website/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'd:/website/cacti/resource/snmp_queries/interface.xml'

发帖
2078
C币
-139174
威望
403
贡献值
1
银元
-3
铜钱
4616
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:cacti问题
C:\php>php.exe d:\website\cacti\poller.php
X-Powered-By: PHP/4.4.5
Content-type: text/html

<br><strong>This script is only meant to run at the command line.</strong>

离线malawenwen.
发帖
2019
C币
-60527
威望
364
贡献值
1
银元
-1
铜钱
4523
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-13
Re:cacti问题
apache 1.3.31
mysql 4.0.14
net-snmp 5.3.1
php 4.4.5
cacti 0.8.6j
rrdtool-1.2.15-cygwin-1.5.20.zip

离线ppkart.
发帖
2118
C币
-131893
威望
410
贡献值
1
银元
-1
铜钱
4693
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-13
Re:cacti问题
哪位大侠帮忙分析一下,谢谢

离线jingweb.
发帖
1957
C币
-152764
威望
349
贡献值
1
银元
-2
铜钱
4257
人人网人气币
0
只看该作者 8楼 发表于: 2010-04-13
Re:cacti问题
大侠们能不能伸手拉小弟一把啊?帮忙看看吧

发帖
2065
C币
-235577
威望
384
贡献值
1
银元
-1
铜钱
4528
人人网人气币
0
只看该作者 9楼 发表于: 2010-04-13
Re:cacti问题
终于弄好了,不容易啊
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个