LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 825|回复: 1

linux Enterprise Linux 5 架设 MRTG

[复制链接]
发表于 2007-8-24 15:55:25 | 显示全部楼层 |阅读模式
请问高人,谁用RedHate linux Enterprise Linux 5 架设 MRTG,麻烦贴下详细配置,在下遇到不少问题
[root@localhost Server]# /usr/local/mrtg/bin/cfgmaker public@localhost > /etc/mrtg/mrtg.cfg
--base: Get Device Info on public@localhost:
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 844723821
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only
at /usr/local/mrtg/bin/cfgmaker line 924
WARNING: Skipping public@localhost: as no info could be retrieved







[root@localhost ~]# /usr/local/mrtg/bin/indexmaker /etc/mrtg/mrtg.cfg --output=/usr/local/apache/htdocs/index.html  --title="My MRTG"
ERROR: Line 8 ( WorkDir: /usr/local/apache/htdocs) in CFG file (/etc/mrtg/mrtg.cfg)  does not make sense



请高人指教!
发表于 2007-8-25 16:58:32 | 显示全部楼层
SNMP Error:
no response received
1有可能是snmp
2有可能是public@localhost     是一时public@本机ip地址

ERROR: Line 8 ( WorkDir: /usr/local/apache/htdocs) in CFG file (/etc/mrtg/mrtg.cfg) does not make sense
是mrtg.cfg有问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表