AgentX subagent sends traps but does not GET/SET

"David Arthur" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000001c7254b$377a10f0$500010ac@gx520>
Hello all,

I have an application with an AgentX subagent that initializes and connects
successfully to the master agent. I have a private MIB with several objects
which I set as I wish from within the application, just before including
them as varbinds in traps. I am getting the traps at the management station
and the varbinds are included, have the right OIDs, and reflect the right
values that I had set in the app.

I try to do a GET using the following command:

usr@machine>snmpget -v 2c -c public -m all localhost \
enterprises.tantacomm.apps.verInfo.mibMajorVersion.0

The following packet dumps occur regarding AgentX communications:

	<I believe this is just the periodic AgentX handshake??>

Received 20 bytes from UDP: [127.0.0.1]:33767
0000: 01 0D 00 00  05 00 00 00  00 00 00 00  22 DB D8 7D    ............"..}
0016: 00 00 00 00                                           ....

agentx/master: handle pdu (req=0x7dd8db22,trans=0x0,sess=0x5)
agentx/master: send response, stat 0 (req=0x7dd8db22,trans=0x0,sess=0x5)
agentx_build: packet built okay

Sending 28 bytes to UDP: [127.0.0.1]:33767
0000: 01 12 00 00  05 00 00 00  00 00 00 00  22 DB D8 7D    ............"..}
0016: 08 00 00 00  0D 12 00 00  00 00 00 00                 ............

	<This is my GET packet arriving...>

Received 47 bytes from UDP: [127.0.0.1]:33769
0000: 30 2D 02 01  01 04 06 70  75 62 6C 69  63 A0 20 02    0-.....public. .
0016: 04 0C 75 37  0F 02 01 00  02 01 00 30  12 30 10 06    ..u7.......0.0..
0032: 0C 2B 06 01  04 01 81 D2  51 01 0A 01  00 05 00       .+......Q......

Received SNMP packet(s) from UDP: [127.0.0.1]:33769
  GET message
    -- TANTA-APP-MIB::mibMajorVersion.0
agentx/master: agentx master handler starting, mode = 0xa0
agentx/master: request for variable (TANTA-APP-MIB::mibMajorVersion.0)
agentx: sending pdu (req=0x8,trans=0x7,sess=0x5)
agentx_build: packet built okay

Sending 52 bytes to UDP: unknown
0000: 01 05 00 00  05 00 00 00  07 00 00 00  08 00 00 00    ................
0016: 20 00 00 00  06 04 00 00  01 00 00 00  51 69 00 00     ...........Qi..
0032: 01 00 00 00  0A 00 00 00  01 00 00 00  00 00 00 00    ................
0048: 00 00 00 00                                           ....

	This last exchange happens 5 times (as the retry is set to '5'),
then the command line returns "Timeout: No Response from localhost.". Might
anyone know what is happening here?

Thanks in advance for you help!
Dave Arthur


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.