info needed on snmpbulkget with agentx

anand anand <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJtbuGLM=H=ct929V=KbnWZC-Ofxx_3OVb-oZFun7bcz-0Gnuw@mail.gmail.com>
Hello all

While  performing a snmpbulkget on nstAgentSubagentObject, which is provided
as part of the agentx tutorial i get the below output

*snmpbulkget -v2c -c public localhost
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject*
*NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = INTEGER: 3*
*SNMPv2-MIB::snmpSetSerialNo.0 = INTEGER: 1916485437*
*SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 1F 88 80 1A AB 10 0C
87 E9 51 4E *
*SNMP-FRAMEWORK-MIB::snmpEngineBoots.0 = INTEGER: 3*
*SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 977 seconds*
*SNMP-FRAMEWORK-MIB::snmpEngineMaxMessageSize.0 = INTEGER: 1500*
*SNMP-MPD-MIB::snmpUnknownSecurityModels.0 = Counter32: 0*
*SNMP-MPD-MIB::snmpInvalidMsgs.0 = Counter32: 0*
*SNMP-MPD-MIB::snmpUnknownPDUHandlers.0 = Counter32: 0*
*SNMP-TARGET-MIB::snmpTargetSpinLock.0 = INTEGER: 0*




   - Why is the output having information for MIB objects which we did not
   ask for.
   - Whenever we are using  the snmpbulkget , the agentx receives the PDU
   type as "6" which is getnext. But the getBulk PDU in agentx  is 7. I read in
   an earlier mail archive with subject "snmp extension agent" as below

                                          If you're working with AgentX,
then a GETBULK request may either be
                                          passed through as-is (including
non-repeaters and max-repetitions), or
                                          else converted into a sequence of
GETNEXT requests.
                                          If you're working with SMUX, then
this pre-dates SNMPv2, so only
                                          supports GETNEXT.  A GETBULK
request will be converted into a sequence
                                         of GETNEXTs by the master agent.




           We wanted to test the getBulk part in  the agentx implementation.
How to do that ?

Thanks & Regards
-anand

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.