论坛风格切换切换到宽版
  • 1084阅读
  • 4回复

[问题求助]mrtg 问题。 [复制链接]

上一主题 下一主题
离线实焕子.
 
发帖
2015
C币
-263004
威望
352
贡献值
3
银元
-5
铜钱
4354
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
自己编译的,一切正常。


./cfgmaker --global "Wor.kDir: /usr/local/apach.e/htdocs/mrtg" --global "Options[_]: growright,bits" -ifref=ip --.output /etc/mrtg.cfg public@218.27.88.254 public@19.2.168.0.158<性病>


--snpo: confcache public@192.168.0..158: .Ip 4.0 -->; 0.
--snpo:. confcache public@1.92.168.0.158: Ip 5.0 -->; 0.
--snpo: confcache public@192.168.0..158: Ip 6.0 -->; .0          婚庆
--snpo: confcache public@192.168.0.158:. Ip 7.0 -->; .0
--snpo: confcache .p.ublic@192.168.0.158: Ip 8.0 -->; 0--------------彩票
--snpo: .co.nfcache public@192.168.0.158: Ip 9.0 -->; 270021    健康
--snpo.: c.onfcache public@192.168.0.158: Ip 10.0 -->; 235767.
--snpo: confcache public@192.168.0..158: Ip 1.1.0 -->; 0--- 印刷
--snpo: confcache public@192..168..0.158: Ip 12.0 -->; 0.
--snpo: confcache public@192..168.0..158: Ip 13.0 -->; 0.
--snpo: co.nfcache pu.blic@192.168.0.158: Ip 14.0 -->; 0电脑
--snpo: .confcache public@192.168.0.158: Ip 15.0 -->.; 0.
--snpo: con.f.cache public@192.168.0.158: Ip 16.0 -->; 0电影
--snpo: confcache publ.ic@192.168.0.158: Ip 17..0 -->; 0(广告)
--snpo.: confcache public@192.168.0.158: Ip 1.8.0 -->; 0(        游戏          )
--snpo: confcache public@192.168.0.158: Ip 19.0 -.->;. 0外贸
--snpo: confcache public@192.168.0.158: Ip 20.1.1.127.0.0.1 .-->; 127.0..0.1外贸
--snp.o: c.onfcache public@1.92.168.0.158: Ip 20.1.1.192.168.0.158 -->; 192.168.0.158电脑
--snpo: confcache public@192.168.0.158: Ip. 20.1.1.192..168.0..245 -->; 192.168.0.245.
--snpo: confcache pub.lic@192.168.0.158: Ip 20.1.1.218.2.7.88.254 -->; .218.27.88.254--------------彩票
--sn.po: c.onfcache public@192.168.0.158: Ip 20.1.2.127.0.0.1 -->; 1[成人用品]
--snpo: confcache publ.ic@192.168.0..158: Ip 20.1.2.192.168.0.158 -->; 4--------------彩票
--snpo: confcache public@192.1.68.0.158: Ip .20.1.2.192.168.0.245 -->; 3虚拟主机
--s.npo: confcache public@192.168.0.158: Ip 20.1.2.218.27.88.254 -->.; 2(        游戏          )
--snpo: confcache public@192..168.0.158: Ip 20.1.3.127.0.0.1 -->; .255.0.0.0.
-.-snpo: confcac.he public@192.168.0.158: .Ip 20.1.3.192.168.0.158 -->; 255.255.255.0投资
--snpo.: c.on.fcache public@192.168.0.158: Ip 20.1.3.192.168.0.245 -->; 255.255.255.0.
--snp.o: confcache public@192.168.0..158: Ip 20.1.3.218.27.88..254 -->; 255.255.255.248(        游戏          )
--snpo: con.fcache public@192.168.0.158: Ip 20.1.4.127.0.0.1 --.>; 1.
--snpo: c.onfcache public@192.168.0.158: Ip 20.1.4.192.168.0.158 -->;. 1健康
--.snpo: confcache public@192.168.0.158: Ip 20.1.4.19.2.168.0.245 -->; 1电影
--snpo: confcache publi.c@192.16.8.0.158: Ip 20.1.4.218.27.88.254 -->; 1           女人
--snpo: confcache public@192.16.8.0.158: Ip 21.1..1.0.0.0.0 -->; 0.0.0.0.
--snpo: confcache public@192.168.0.158.: Ip 21.1.1.127.0.0.0. -->; 127.0.0.0域名
--snpo: confcache public@192.168.0.158:. I.p 21.1.1.169.254.0.0 -->; 1.69.254.0.0.
--snpo: confca.che public@192.168.0.158: ..Ip 21.1.1.192.168.0.0 -->; 192.168.0.0教育
--snpo: c.onfcache public@192.168..0.158: Ip 2.1.1.1.218.27.88.248 -->; 218.27.88.248.
--snpo: confcache public@192.168.0.158: Ip 21.1.2..0.0.0.0 -->;. 2(广告)
--snpo: confca.che public@192.168.0..158: Ip 21.1.2.127.0.0.0 -->; 4           女人
--snpo: confcache public@192.168.0.158: Ip .21.1.2.169..254.0.0 -->; 4投资
--snpo: .confcache public@192..168.0.158: Ip 21.1.2.192.168.0.0 -->; 4健康
-.-snpo: confcache public@192.168.0.158: Ip 21.1.2.218.27.88.248 --.>; 2.
--snpo: confcach.e public@192.168.0.158: Ip 21.1.3.0.0.0..0 -->; 1.
--snpo: confcache pub.lic@192.168.0.158: Ip 21.1.3.127.0.0.0 --.>; 0[成人用品]
--.snpo: confcache public@192.168.0.158: Ip 21.1.3.1.69.254.0.0 -->; 0[成人用品]
--snpo: confcache pub.lic@192.168.0.158: Ip .21.1.3.192.168.0.0 -->; 0.
--.snpo: confcache public@192.168.0..158: Ip 21.1.3.218.27.88.248 -->; 0            杀毒
--snpo: confcache public@192.168.0.158: Ip 21..1.7.0.0.0.0 --.>; 218.27..88.249             汽车
--s..npo: confcache public@192.168.0.158: Ip 21.1.7.127.0.0.0 -->; 0.0.0.0虚拟主机
--snpo.: co.nfcache public@192.168.0.158: Ip 21.1.7.169.254.0.0 -->; 0.0.0.0(        游戏          )
--snpo: confcache public@19.2.168.0.158: Ip 21.1..7.192.168.0.0 -->; 0.0.0.0学习
--snpo: con.fcache public@192.168.0.158:. Ip 21.1.7..218.27.88.248 -->; 0.0.0.0             汽车
--snpo: confcache pu.blic@192.168.0.15.8: Ip 21.1.8.0.0.0.0 -->; 4学习
--snpo: confcache public@192.168..0.158: Ip 21.1.8.127.0.0.0. -->; 3.
--snpo: confcache publ..ic@192.168.0.158: Ip 21.1.8.169.254.0.0 -->; 3          婚庆
--snpo: confc.ache public@192.168.0.158: Ip 21.1.8.192.168.0.0 -->; 3.            杀毒
--snpo: confcache public@192.16.8.0.158: Ip 21..1.8.218.27.88.248 -->; 3学习
-.-snpo: c.onfcache public@192.168.0.158: Ip 21.1.9.0.0.0.0 -->; 2(        游戏          )
--snpo: .confcache pu.blic@192.168.0.158: Ip 21.1.9.127.0.0.0 -->; 2           女人
--snp.o: confcache public@192..168.0.158: Ip 21.1.9.169.254.0.0 -->; 2              乙肝
--snpo: confcache public@192.168.0.158: Ip 2.1.1.9.192.168.0.0 -->; .2           女人
--snpo:. confcache public@192.168.0.158: Ip 21.1.9.218..27.88.248 -->; 2域名
--snpo: confcache public@192.168.0.158: Ip 21.1.1.1.0.0.0..0 -->; 0.0.0.0(        游戏          )
--snpo: confcache public@192.168.0.158: Ip. 21..1.11.127.0.0.0 -->; 255.0.0.0            杀毒
--sn.po: confcache pu.blic@192.168.0.158: Ip 21.1.11..169.254.0.0 -->; 255.255.0.0投资
-.-snpo: confcache public@192.168.0.158: Ip 21.1..11..192.168.0.0 -->; 255.255.255.0域名
--snpo: confcache public@19.2.168.0.1.58: Ip 21.1..11.218.27.88.248 -->; 255.255.255.248--------------彩票
--snpo: confcache public@192.168.0.158:. Ip 21.1.13.0.0.0.0 --.>; 0.0投资
--snpo: c.onfcache public@192.168.0.158: Ip 21.1..13.127.0.0.0 -->; 0.0             汽车
--snpo: confcache public@.192.168.0.158: Ip 21.1.13.169..254.0.0 -->; 0.0[成人用品]
--snpo: confcache public@192.168.0.158: I..p 21.1.13.192.168.0.0 -->; 0.0电脑
--snpo: confcache public@192.168.0.158: Ip 21.1..13.21.8.27.88.248 -->; 0.0.
--snpo: confcache public.@192.168.0.158: Ip 2.2.1.1.2.218.27.88.249 -->; 2<性病>
--.snpo: confcache public@192.168.0.158: Ip 22.1.1.4..192.168.0.159 -->; 4域名
--snpo: confc.ache public@192..168.0.158: Ip 22.1.1.4.192.168.0.252 -->; 4           建材
--snpo: confcache. public@192.168.0.158: Ip 22.1.2..2.218.27.88..249 -->;  àü (;电脑
--snpo: c.onfcache. public@192.168.0.158: Ip 22.1.2.4.192.168.0.159 -->;   &Icirc.;? &.
--snpo: confcache public@192.168.0.158: Ip 22..1..2.4.192.168.0.252 -->;   &.amp; Ñ$.
--snpo: .confcache public@192.168.0..158: Ip 22.1.3.2.218..27.88.249 -->; 218.27.88.249电脑
--snpo.: confcache public.@192.168.0..158: Ip 22.1.3.4.192.168.0.159 -->; 192.168.0.159              乙肝
--snpo: .confcache publi.c@19.2.168.0.158: Ip 22.1.3.4.192.168.0.252 -->; 192.168.0.252             电子
--snpo: .confcache public@192.168.0.158: Ip 22.1.4.2.21.8.27.88.249 -->; 3          婚庆
--snpo: conf.cache public@192.168.0..158: Ip 22.1.4.4.192.168.0.159 -->; 3    健康
--snpo: confca..che public@192.168.0.158: Ip 22.1.4.4.192.168.0.252 -->; 3(        游戏          )
-.-snpo: confcache publi.c@192.168.0.158: Ip 23.0 -->; 0学习
--snpo: confcache .p.ublic@192.168.0.158: Name  -->;    外汇
--snp.o: confcache public@192.168.0.158: Type  -->.;.
--snpo: confcache public@.192..168.0.158: Eth  -->; 1.
--snpo: .confcache public@192.168.0..158: Eth 00-0a-eb-06-6e-65 -->; 2.
--snpo: confcache public@192.168.0.158: E.th 00-e0-4.c-8c-3c-99 -->; 3.
--snpo: confcache public@192.168.0.158: Eth 00-e0-4c-.83-d6-d.4 -->; 4.
--base:. Get .Interface Info           鲜花
--base: Walk.ing ifIndex.
--base: .Walking ifType.
--b.ase.: Walking ifAdminStatus    健康
--base: Walking. ifOperStatu.s.
--base: Walking ifSpe.ed    外汇
--base: Writing. /et.c/mrtg.cfg电脑

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

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线ft16.
发帖
2054
C币
-198567
威望
421
贡献值
2
银元
0
铜钱
4653
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:mrtg
[root@ftpserver bin]# env LANG=C ./mrtg /etc/mrtg.cfg
WARNING: Could not match host:'public@218.27.88.254:' ref:'Ip' key:'21.1.2.0.0.0.0'
WARNING: Could not match host:'public@218.27.88.254:' ref:'Ip' key:'21.1.8.0.0.0.0'
WARNING: Could not match host:'public@192.168.0.158:' ref:'Ip' key:'21.1.2.0.0.0.0'
WARNING: Could not match host:'public@192.168.0.158:' ref:'Ip' key:'21.1.8.0.0.0.0'
ERROR: Target[218.27.88.254_21.1.2.0.0.0.0][_IN_] ' $$target[0]{$mode} ' did not eval into defined data
ERROR: Target[218.27.88.254_21.1.2.0.0.0.0][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data
WARNING: Skipping Update of 218.27.88.254_21.1.2.0.0.0.0, inlast is not defined
WARNING: Skipping Update of 218.27.88.254_21.1.2.0.0.0.0, outlast is not defined
ERROR: Target[218.27.88.254_21.1.8.0.0.0.0][_IN_] ' $$target[1]{$mode} ' did not eval into defined data
ERROR: Target[218.27.88.254_21.1.8.0.0.0.0][_OUT_] ' $$target[1]{$mode} ' did not eval into defined data
WARNING: Skipping Update of 218.27.88.254_21.1.8.0.0.0.0, inlast is not defined
WARNING: Skipping Update of 218.27.88.254_21.1.8.0.0.0.0, outlast is not defined
ERROR: Target[192.168.0.158_21.1.2.0.0.0.0][_IN_] ' $$target[2]{$mode} ' did not eval into defined data
ERROR: Target[192.168.0.158_21.1.2.0.0.0.0][_OUT_] ' $$target[2]{$mode} ' did not eval into defined data
WARNING: Skipping Update of 192.168.0.158_21.1.2.0.0.0.0, inlast is not defined
WARNING: Skipping Update of 192.168.0.158_21.1.2.0.0.0.0, outlast is not defined
ERROR: Target[192.168.0.158_21.1.8.0.0.0.0][_IN_] ' $$target[3]{$mode} ' did not eval into defined data
ERROR: Target[192.168.0.158_21.1.8.0.0.0.0][_OUT_] ' $$target[3]{$mode} ' did not eval into defined data
WARNING: Skipping Update of 192.168.0.158_21.1.8.0.0.0.0, inlast is not defined
WARNING: Skipping Update of 192.168.0.158_21.1.8.0.0.0.0, outlast is not defined


提示这个错误?

离线xky1314.
发帖
1951
C币
-61061
威望
356
贡献值
1
银元
0
铜钱
4258
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:mrtg
告诉我执行3次就不出错了,我都执行10多遍了,还是出错。

发帖
2117
C币
-235085
威望
407
贡献值
1
银元
-3
铜钱
4779
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:mrtg
三次错误不是这个错误哈,这个应付该是/etc/mrtg.conf出错哦..

发帖
1934
C币
-152941
威望
334
贡献值
1
银元
-1
铜钱
4244
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:mrtg
vi /etc/snmp/snmpd.conf
rocommunity mrtg
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个