Windows服务器-多变量请求时的行为SNMP代理 [英] Windows servers - Behaviour SNMP agent in case of multi-variable requests

查看:87
本文介绍了Windows服务器-多变量请求时的行为SNMP代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果在一个SNMP get-request中有多个变量,并且没有实现至少一个变量,则SNMP代理的行为不符合协议v2c.

情况如下:

In case of multi variables in one SNMP get-request and at least one variable is not implemented, the behaviour of the SNMP agent is not compliant with the protocol v2c.

The situation is as follows:

-发送对两个变量的SNMP请求("interfaces.ifTable.ifEntry.ifDescr.1"是有效的MIB条目,"interfaces.ifTable.ifEntry.ifDescr.0&"不在MIB中) )

- An SNMP request for two variables is sent ("interfaces.ifTable.ifEntry.ifDescr.1" is a valid MIB entry, "interfaces.ifTable.ifEntry.ifDescr.0" is not in the MIB)

09:16:12.419439 miquelon.45477> 6.3.0.17.snmp:[udp sum ok] {SNMPv2c {GetRequest(46)R = 191950062
interfaces.ifTable.ifEntry.ifDescr.0
interfaces.ifTable.ifEntry.ifDescr.1
}}(DF)(ttl 255,id 62858,len 89)

09:16:12.419439 miquelon.45477 > 6.3.0.17.snmp: [udp sum ok] { SNMPv2c { GetRequest(46) R=191950062
interfaces.ifTable.ifEntry.ifDescr.0
interfaces.ifTable.ifEntry.ifDescr.1
} } (DF) (ttl 255, id 62858, len 89)

-出现错误noSuchName的响应,但是仅未实现一个变量.第二个可以,可以通过SNMP分别读取

- Response with an error noSuchName comes back, nevertheless only one variable is not implemented. The second one is OK and can be read via SNMP seperately

09:16:12.472108 6.3.0.17.snmp> miquelon.45477:[udp sum ok] {SNMPv2c {GetResponse(46)R = 191950062 noSuchName @ 1
interfaces.ifTable.ifEntry.ifDescr.0 =
interfaces.ifTable.ifEntry.ifDescr.1 =
}}(ttl 123,id 27166,len 89)

09:16:12.472108 6.3.0.17.snmp > miquelon.45477: [udp sum ok] { SNMPv2c { GetResponse(46) R=191950062 noSuchName@1
interfaces.ifTable.ifEntry.ifDescr.0=
interfaces.ifTable.ifEntry.ifDescr.1=
} } (ttl 123, id 27166, len 89)

对于其他任何服务器,始终读取有效变量,并且noSuchInstance仅针对不存在的变量显示..

while for any other servers the valid variable is always read, and the noSuchInstance appears only for non-existing variable..

09:20:20.556626 miquelon.45890> 6.3.0.13.snmp:[udp sum ok] {SNMPv2c {GetRequest(46)R = 154880502
interfaces.ifTable.ifEntry.ifDescr.0
interfaces.ifTable.ifEntry.ifDescr.1
}}(DF)(ttl 255,id 60458,len 89)
09:20:20.609466 6.3.0.13.snmp> miquelon.45890:[udp sum ok] {SNMPv2c {GetResponse(48)R = 154880502
interfaces.ifTable.ifEntry.ifDescr.0 = [noSuchInstance]
interfaces.ifTable.ifEntry.ifDescr.1 ="lo"
}}(DF)(ttl 59,id 0,len 91)

09:20:20.556626 miquelon.45890 > 6.3.0.13.snmp: [udp sum ok] { SNMPv2c { GetRequest(46) R=154880502
interfaces.ifTable.ifEntry.ifDescr.0
interfaces.ifTable.ifEntry.ifDescr.1
} } (DF) (ttl 255, id 60458, len 89)
09:20:20.609466 6.3.0.13.snmp > miquelon.45890: [udp sum ok] { SNMPv2c { GetResponse(48) R=154880502
interfaces.ifTable.ifEntry.ifDescr.0=[noSuchInstance]
interfaces.ifTable.ifEntry.ifDescr.1="lo"
} } (DF) (ttl 59, id 0, len 91)

因此,只要这些变量中的任何一个不存在,对多变量请求的整个响应都是空的.

As a result the whole response for a multi-variable request is empty whenever any of those variables is not existing.

我想知道Windows服务器上是否已经知道此错误,以及是否有修复程序.

I would like to know if this bug is already known on Windows servers, and if there is a fix.

致谢

推荐答案

您好,

 

谢谢您的发帖!  我建议在中为您的问题创建一个新线程 平台联网 此处: http://social.technet.microsoft.com/Forums/en-美国/winserverPN/线程

Thank you for your post!  I would suggest creating a new thread for your question in the Platform Networking located here:  http://social.technet.microsoft.com/Forums/en-US/winserverPN/threads


祝你有美好的一天!

谢谢!


Have a great day!

Thanks!


这篇关于Windows服务器-多变量请求时的行为SNMP代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆