Chinaunix

标题: 求助,安装MRTG无法生成/etc/mrtg/mrtg.cfg [打印本页]

作者: mig-21-93    时间: 2008-11-07 10:27
标题: 求助,安装MRTG无法生成/etc/mrtg/mrtg.cfg
[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 编辑 ]
作者: Peifei    时间: 2008-11-07 13:02
MRTG是啥东东啊/
作者: 7717060    时间: 2008-11-07 13:06
http://www.baidu.com/s?wd=ERROR: ... h+file+or+directory
作者: zhaojys    时间: 2008-11-07 13:54
原帖由 Peifei 于 2008-11-7 13:02 发表
MRTG是啥东东啊/

RRDtools的作者写的流量监控软件,用MIB实现的。
作者: mig-21-93    时间: 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 编辑 ]
作者: mig-21-93    时间: 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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2