Hi, everyone!
We have a case to test, which is realized by net-snmp-5.3.4.
Current, agnetx master not send the agentx-Get/GetNext/GetBulk-PDU to
subagent. Please see below:
1) ./configure --prefix=/usr/local/net-snmp --with-mib-modules="agentx"
2)make && make install
3) ./snmpd -d -x tcp:localhost:705 -c /usr/local/etc/snmpd.conf -C
4) Exec the modules which have subagent
snmpd.conf
com2sec local localhost test
com2sec mynetwork 172.16.95.82 test
com2sec mynetwork 172.16.95.126 test
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
view all included .1 80
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
rwcommunity test
master agentx
From the /var/log/snmpd.log, we got the bellowed informations
Turning on AgentX master support.
NET-SNMP version 5.3.4
1)Received a agentx-Open-PDU from tcp
2)Sending a agentx-Response-pdu to tcp
3)Received a agentx-Register-PDU from tcp
4)Sending a agentx-Response-pdu to tcp
...
5)Received "GETNEXT message"from udp
6)Sending a get-response pdu to udp
Why the agentx master response the "GETNEXT message" directly
instead of response the "GETNEXT message" after qureying to the subagent and
getting the agentx-Response-PDU from subagent?
Please help me!
Bests
marshalsoul
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users