免费注册 查看新帖 |

Chinaunix

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

求助,安装MRTG无法生成/etc/mrtg/mrtg.cfg [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-07 10:27 |只看该作者 |倒序浏览
[root@localhost bin]# ./cfgmaker --global="WorkDir:/var/www/mrtg" --output=/etc/mrtg/mrtg.cfg mrtg@localhost
--base: Get Device Info on mrtg@localhost:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache mrtg@localhost: Descr lo --> 1
--snpo: confcache mrtg@localhost: Descr eth0 --> 2
--snpo: confcache mrtg@localhost: Descr sit0 --> 3
--snpo: confcache mrtg@localhost: Ip 127.0.0.1 --> 1
--snpo: confcache mrtg@localhost: Ip xxx.xxx.x.xxx --> 2
--snpo: confcache mrtg@localhost: Type 24 --> 1
--snpo: confcache mrtg@localhost: Type 6 --> 2
--snpo: confcache mrtg@localhost: Type 131 --> 3
--snpo: confcache mrtg@localhost: Eth  --> 1
--snpo: confcache mrtg@localhost: Eth 00-0c-29-c7-f1-c1 --> 2
--snpo: confcache mrtg@localhost: Eth  --> 3 (duplicate)
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifSpeed
--base: Writing /etc/mrtg/mrtg.cfg
ERROR:creating /etc/mrtg/mrtg.cfg:No such file or directory

已添加recomunity mrtg,而且public@localhost也是同样错误

[ 本帖最后由 mig-21-93 于 2008-11-7 16:30 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-11-07 13:02 |只看该作者
MRTG是啥东东啊/

论坛徽章:
0
3 [报告]
发表于 2008-11-07 13:06 |只看该作者

论坛徽章:
0
4 [报告]
发表于 2008-11-07 13:54 |只看该作者
原帖由 Peifei 于 2008-11-7 13:02 发表
MRTG是啥东东啊/

RRDtools的作者写的流量监控软件,用MIB实现的。

论坛徽章:
0
5 [报告]
发表于 2008-11-07 16:29 |只看该作者
网上没搜到解决办法,换了个教程,现在的问题是,连提示都没了,输进去后直接给你个#......而且还是没法生成mrtg.cfg......orz


#cd /mrtg/bin
#./cfgmaker --output=/etc/mrtg.mrtg.cfg >mrtg@xxx.xxx.x.xxx
#



apache和snmp都开着......

[ 本帖最后由 mig-21-93 于 2008-11-7 16:31 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2008-11-07 18:00 |只看该作者
靠,知道怎么回事了,哪个家伙COPY的教程,画蛇添足-__________________-
[root@localhost bin]# ./cfgmaker --global="WorkDir:/var/www/mrtg" --output=/etc/mrtg/mrtg.cfg mrtg@localhost

应为[root@localhost bin]# ./cfgmaker --global "WorkDir:/var/www/mrtg" --output /etc/mrtg/mrtg.cfg mrtg@localhost
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP