QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 823|回复: 0

mrtg.cfg got 'Received SNMP 错误

[复制链接]
发表于 2005-1-28 16:52:24 | 显示全部楼层 |阅读模式
我的操作系统是rhel as 3.0 ,mrtg是系统自带的,按要求修改了/etc/snmp/snmpd.conf文件,cfgmaker过程也正常,但就是生成的/etc/mrtg/mrtg.cfg文件不正常,生成的/etc/mrtg/mrtg.cfg有以下错误


### Interface 4 >> Descr: '' | Name: '' | Ip: '211.96.97.20' | Eth: '' ###
### The following interface is commented out because:
### * has a speed of  which makes no sense
### * got 'Received SNMP response with error code  
###       error status: noSuchName
###       index 1 (OID: 1.3.6.1.2.1.2.2.1.10.4)  
###     SNMPv1_Session (remote host: "10.0.0.199" [10.0.0.199].161)
###                       community: "public"
###                      request ID: 1564421508
###                     PDU bufsize: 8000 bytes
###                         timeout: 2s  
###                         retries: 5
###                         backoff: 1)' from interface when trying to query
#
                                             


我的cfgmaker过程如下:
[root@gameserver root]#
cfgmaker --global "WorkDir: /var/www/html" --global "Options[_]: growright,bits" --ifref=ip --output /etc/mrtg/mrtg.cfg [email protected]
--base: Get Device Info on [email protected]:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache [email protected]: Descr lo --> 1
--snpo: confcache [email protected]: Descr eth0 --> 2
--snpo: confcache [email protected]: Descr eth1 --> 3
--snpo: confcache [email protected]: Ip 10.0.0.199 --> 5
--snpo: confcache [email protected]: Ip 127.0.0.1 --> 1
--snpo: confcache [email protected]: Ip 211.96.97.2 --> 4
--snpo: confcache [email protected]: Type 24 --> 1
--snpo: confcache [email protected]: Type 6 --> 2
--snpo: confcache [email protected]: Type 6 --> 3 (duplicate)
--snpo: confcache [email protected]: Eth  --> 1
--snpo: confcache [email protected]: Eth 00-07-e9-03-f3-f9 --> 2
--snpo: confcache [email protected]: Eth 00-07-e9-03-f3-f8 --> 3
--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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 15:41 , Processed in 0.040188 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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