BUG: agentx get response message with non-default-context does not work!
Claus Klein <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
while working with AgentX++ and net-snmp V5.5 I fount the following
error:
The master agent set or expect the AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT
bit set for response messages?
This is wrong!
There is a comment at protocol.c which note this, but a view
statements later, the flag is set?
#-------snip
/*
* Various PDU types don't include context information (RFC 2741,
p. 20).
*/
switch (pdu->command) {
case AGENTX_MSG_OPEN: // ok
case AGENTX_MSG_CLOSE: // ok
case AGENTX_MSG_RESPONSE: //FIXME! ck
case AGENTX_MSG_COMMITSET: //not tested
case AGENTX_MSG_UNDOSET: //not tested
case AGENTX_MSG_CLEANUPSET: //not tested
pdu->flags &= ~(AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT);
}
#-------end
If the subagent build the response according to the RFC, the agentx
session run into time-out and will be closed after get or getnext
requests!
To be able to communicate with AgentX++ subagents a non-default
context, I changed the protocol.c.
But this unfortunately breaks the net-snmp snmptrapd when started as
subagent with -x localhost options set.
Has someone ever work with net-nsmp and a non net-snmp subagent?
With default context, everything works fine, but with a non default
context, registrations works, but no access!
It would be nice if this can be fixed according to the RFC.
//regards
Claus
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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
agentx-context-error.diff
(application/octet-stream, 2.4 KB)
--- agent/mibgroup/agentx/protocol.c.orig 2010-08-08 18:05:53.000000000 +0200
+++ agent/mibgroup/agentx/protocol.c 2010-08-08 18:10:49.000000000 +0200
@@ -656,7 +656,7 @@
DEBUGINDENTLESS();
if (pdu->flags & AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT) {
- DEBUGDUMPHEADER("send", "Community");
+ DEBUGDUMPHEADER("send", "Context");
if (!agentx_realloc_build_string
(buf, buf_len, out_len, allow_realloc, pdu->community,
pdu->community_len, network_order)) {
@@ -689,12 +689,12 @@
* Various PDU types don't include context information (RFC 2741, p. 20).
*/
switch (pdu->command) {
- case AGENTX_MSG_OPEN:
- case AGENTX_MSG_CLOSE:
- case AGENTX_MSG_RESPONSE:
- case AGENTX_MSG_COMMITSET:
- case AGENTX_MSG_UNDOSET:
- case AGENTX_MSG_CLEANUPSET:
+ case AGENTX_MSG_OPEN: // ok
+ case AGENTX_MSG_CLOSE: // ok
+ case AGENTX_MSG_RESPONSE: //FIXME! ck
+ case AGENTX_MSG_COMMITSET: //not tested
+ case AGENTX_MSG_UNDOSET: //not tested
+ case AGENTX_MSG_CLEANUPSET: //not tested
pdu->flags &= ~(AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT);
}
@@ -706,7 +706,7 @@
{
pdu->community = strdup(pdu->contextName);
pdu->community_len = pdu->contextNameLen;
- pdu->flags |= AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT;
+ pdu->flags |= AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT; //FIXME
}
/*
@@ -1470,6 +1470,7 @@
}
DEBUGDUMPHEADER("recv", "AgentX Header");
+ DEBUGDUMPSETUP("recv", bufp, 4); //XXX added; ck
DEBUGDUMPHEADER("recv", "Version");
DEBUGDUMPSETUP("recv", bufp, 1);
pdu->version = AGENTX_VERSION_BASE | *bufp;
@@ -1492,6 +1493,12 @@
DEBUGINDENTLESS();
bufp++;
+ if ((pdu->command == AGENTX_MSG_RESPONSE) &&
+ (pdu->flags & AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT)) { //XXX FIXME! added ck
+ snmp_log(LOG_ERR, "NET-SNMP AGENTX_MSG_RESPONSE with AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT set!\n");
+ pdu->flags &= (~AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT); // this flag must be cleared for a response after (RFC 2741, p. 20).!
+ }
+
DEBUGDUMPHEADER("recv", "Reserved Byte");
DEBUGDUMPSETUP("recv", bufp, 1);
DEBUGMSG(("dumpv_recv", " Reserved:\t0x%x\n", *bufp));
@@ -1528,6 +1535,7 @@
DEBUGINDENTLESS();
bufp += 4;
+ DEBUGINDENTLESS(); //XXX added too; ck
*length -= 20;
if (*length != payload) { /* Short payload */
return NULL;
agentx-context-error.log
(application/octet-stream, 22.8 KB)
That is what I do: ######################################################################## $ snmpgetnext -r 0 -v3 -u claus -n snmptrapd localhost .1 Timeout: No Response from localhost. ######################################################################## sudo /usr/local/sbin/snmptrapd -x localhost -f -Le -Ddump ... dumpx_recv:08 00 00 00 dumpv_recv: Integer: 8 (0x08) dumph_recv: AgentX Header dumpx_recv: 01 12 00 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 12 dumpv_recv: Command: 18 (Response) dumph_recv: Flags dumpx_recv: 00 dumpv_recv: Flags: 0x0 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 0E 00 00 00 dumpv_recv: Integer: 14 (0x0E) dumph_recv: Transaction ID dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumph_recv: Packet ID dumpx_recv: CA 75 F8 51 dumpv_recv: Integer: 1375237578 (0x51F875CA) dumph_recv: Payload Length dumpx_recv: 08 00 00 00 dumpv_recv: Integer: 8 (0x08) dumph_recv: PDU dumpx_recv: 14 6C 01 00 dumpv_recv: Integer: 93204 (0x16C14) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumph_recv: VarBindList dumpx_recv:48 00 00 00 dumpv_recv: Integer: 72 (0x48) dumph_recv: AgentX Header dumpx_recv: 01 06 08 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 06 dumpv_recv: Command: 6 (Get Next) dumph_recv: Flags dumpx_recv: 08 dumpv_recv: Flags: 0x8 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 0E 00 00 00 dumpv_recv: Integer: 14 (0x0E) dumph_recv: Transaction ID dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumph_recv: Packet ID dumpx_recv: 5D 00 00 00 dumpv_recv: Integer: 93 (0x5D) dumph_recv: Payload Length dumpx_recv: 48 00 00 00 dumpv_recv: Integer: 72 (0x48) dumph_recv: Context dumpx_recv: 09 00 00 00 dumpv_recv: Integer: 9 (0x09) dumpx_recv: 09 00 00 00 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_recv: String: snmptrapd.(. dumph_recv: PDU dumph_recv: Search Range dumph_recv: OID Header dumpx_recv: 06 02 01 00 dumpv_recv: # subids: 6 (0x06) dumpv_recv: prefix: 2 (0x02) dumpv_recv: inclusive: 1 (0x01) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumpv_recv: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 dumph_recv: OID Header dumpx_recv: 06 02 00 00 dumpv_recv: # subids: 6 (0x06) dumpv_recv: prefix: 2 (0x02) dumpv_recv: inclusive: 0 (0x00) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpv_recv: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.1 dump_send_callback_transport: PDU: command = 161, errstat = 0, errindex = 0 dump_send_callback_transport: var 2:NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Wrong Type (should be Gauge32 or Unsigned32): Variable has bad type dump_recv_callback_transport: PDU: command = 161, errstat = 0, errindex = 0 dump_recv_callback_transport: var 2:NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Wrong Type (should be Gauge32 or Unsigned32): Variable has bad type dump_send_callback_transport: PDU: command = 162, errstat = 0, errindex = 0 dump_send_callback_transport: var 2:NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Gauge32: 1000 dump_recv_callback_transport: PDU: command = 162, errstat = 0, errindex = 0 dump_recv_callback_transport: var 2:NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Gauge32: 1000 dumph_send: AgentX Header dumpx_send: 01 12 08 00 dumpv_send: Version: 1 dumpv_send: Command: 18 (Response) dumpv_send: Flags: 08 <<<<<<<<<<<<<<<<<<<<<ERROR! dumph_send: Session ID dumpx_send: 0E 00 00 00 dumpv_send: Integer: 14 (0x0E) dumph_send: Transaction ID dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumph_send: Request ID dumpx_send: 5D 00 00 00 dumpv_send: Integer: 93 (0x5D) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Context <<<<<<<<<<<<<<<<<<<<<ERROR! dumph_send: Build String dumph_send: length dumpx_send: 09 00 00 00 dumpv_send: Integer: 9 (0x09) dumpx_send: 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_send: String: snmptrapd dumph_send: AgentX Payload dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Response dumpx_send: 00 00 00 00 dumpv_send: sysUpTime: 0 dumpx_send: 00 00 dumpv_send: Short: 0 (0x00) dumpx_send: 00 00 dumpv_send: Short: 0 (0x00) dumph_send: Response errors dumpx_send: 00 00 00 00 dumpv_send: errstat: 0 dumpv_send: errindex: 0 dumph_send: Get* Variable List dumph_send: VarBind dumph_send: type dumpx_send: 42 00 dumpv_send: Short: 66 (0x42) dumph_send: name dumpv_send: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 dumph_send: OID Header dumpx_send: 06 02 00 00 dumpv_send: # subids: 6 (0x06) dumpv_send: prefix: 2 (0x02) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: value dumpx_send: E8 03 00 00 dumpv_send: Integer: 1000 (0x3E8) ########################################################################### # here the master agent terminatiates the session with timeout! # and a new one is opened later .... ########################################################################### dumpx_send:3C 00 00 00 dumpv_send: Integer: 60 (0x3C) dumph_send: AgentX Header dumpx_send: 01 01 00 00 dumpv_send: Version: 1 dumpv_send: Command: 1 (Open) dumpv_send: Flags: 00 dumph_send: Session ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Transaction ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Request ID dumpx_send: CB 75 F8 51 dumpv_send: Integer: 1375237579 (0x51F875CB) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: AgentX Payload dumph_send: Open Timeout dumpx_send: 00 00 00 00 dumpv_send: Timeout: 0 dumph_send: Open ID dumpv_send: OID: NET-SNMP-MIB::netSnmpAgentOIDs.255 dumph_send: OID Header dumpx_send: 05 04 00 00 dumpv_send: # subids: 5 (0x05) dumpv_send: prefix: 4 (0x04) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 88 1F 00 00 dumpv_send: Integer: 8072 (0x1F88) dumpx_send: 03 00 00 00 dumpv_send: Integer: 3 (0x03) dumpx_send: 02 00 00 00 dumpv_send: Integer: 2 (0x02) dumpx_send: FF 00 00 00 dumpv_send: Integer: 255 (0xFF) dumph_send: Open Description dumph_send: Build String dumph_send: length dumpx_send: 19 00 00 00 dumpv_send: Integer: 25 (0x19) dumpx_send: 4E 65 74 2D 53 4E 4D 50 20 41 67 65 6E 74 58 20 73 75 62 2D 61 67 65 6E 74 00 00 00 dumpv_send: String: Net-SNMP AgentX sub-agent dumpx_send:3C 00 00 00 dumpv_send: Integer: 60 (0x3C) dumpx_recv:44 00 00 00 dumpv_recv: Integer: 68 (0x44) dumph_recv: AgentX Header dumpx_recv: 01 12 00 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 12 dumpv_recv: Command: 18 (Response) dumph_recv: Flags dumpx_recv: 00 dumpv_recv: Flags: 0x0 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 10 00 00 00 dumpv_recv: Integer: 16 (0x10) dumph_recv: Transaction ID dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumph_recv: Packet ID dumpx_recv: CB 75 F8 51 dumpv_recv: Integer: 1375237579 (0x51F875CB) dumph_recv: Payload Length dumpx_recv: 44 00 00 00 dumpv_recv: Integer: 68 (0x44) dumph_recv: PDU dumpx_recv: 10 74 01 00 dumpv_recv: Integer: 95248 (0x17410) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumph_recv: VarBindList dumph_recv: VarBind: dumph_recv: Type dumpx_recv: 04 00 dumpv_recv: Short: 4 (0x04) dumph_recv: OID Header dumpx_recv: 05 04 00 00 dumpv_recv: # subids: 5 (0x05) dumpv_recv: prefix: 4 (0x04) dumpv_recv: inclusive: 0 (0x00) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 88 1F 00 00 dumpv_recv: Integer: 8072 (0x1F88) dumpx_recv: 03 00 00 00 dumpv_recv: Integer: 3 (0x03) dumpx_recv: 02 00 00 00 dumpv_recv: Integer: 2 (0x02) dumpx_recv: FF 00 00 00 dumpv_recv: Integer: 255 (0xFF) dumpv_recv: OID: NET-SNMP-MIB::netSnmpAgentOIDs.255 dumpx_recv: 19 00 00 00 dumpv_recv: Integer: 25 (0x19) dumpx_recv: 19 00 00 00 4E 65 74 2D 53 4E 4D 50 20 41 67 65 6E 74 58 20 73 75 62 2D 61 67 65 6E 74 00 00 00 dumpv_recv: String: Net-SNMP AgentX sub-agent.(. NET-SNMP version 5.5 AgentX subagent connected dumph_send: AgentX Header dumpx_send: 01 03 09 00 dumpv_send: Version: 1 dumpv_send: Command: 3 (Register) dumpv_send: Flags: 09 dumph_send: Session ID dumpx_send: 10 00 00 00 dumpv_send: Integer: 16 (0x10) dumph_send: Transaction ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Request ID dumpx_send: CC 75 F8 51 dumpv_send: Integer: 1375237580 (0x51F875CC) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Context dumph_send: Build String dumph_send: length dumpx_send: 09 00 00 00 dumpv_send: Integer: 9 (0x09) dumpx_send: 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_send: String: snmptrapd dumph_send: AgentX Payload dumph_send: (Un)Register Header dumpx_send: 00 7F 00 00 dumpv_send: Timeout: 0 dumpv_send: Priority: 127 dumpv_send: Range SubID: 0 dumph_send: (Un)Register Prefix dumpv_send: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 dumph_send: OID Header dumpx_send: 06 02 00 00 dumpv_send: # subids: 6 (0x06) dumpv_send: prefix: 2 (0x02) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumpx_send:30 00 00 00 dumpv_send: Integer: 48 (0x30) dumpx_recv:28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: AgentX Header dumpx_recv: 01 12 01 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 12 dumpv_recv: Command: 18 (Response) dumph_recv: Flags dumpx_recv: 01 dumpv_recv: Flags: 0x1 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 10 00 00 00 dumpv_recv: Integer: 16 (0x10) dumph_recv: Transaction ID dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumph_recv: Packet ID dumpx_recv: CC 75 F8 51 dumpv_recv: Integer: 1375237580 (0x51F875CC) dumph_recv: Payload Length dumpx_recv: 28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: PDU dumpx_recv: 14 74 01 00 dumpv_recv: Integer: 95252 (0x17414) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumph_recv: VarBindList dumph_recv: VarBind: dumph_recv: Type dumpx_recv: 05 00 dumpv_recv: Short: 5 (0x05) dumph_recv: OID Header dumpx_recv: 06 02 00 00 dumpv_recv: # subids: 6 (0x06) dumpv_recv: prefix: 2 (0x02) dumpv_recv: inclusive: 0 (0x00) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumpv_recv: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 dumph_send: AgentX Header dumpx_send: 01 03 09 00 dumpv_send: Version: 1 dumpv_send: Command: 3 (Register) dumpv_send: Flags: 09 dumph_send: Session ID dumpx_send: 10 00 00 00 dumpv_send: Integer: 16 (0x10) dumph_send: Transaction ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Request ID dumpx_send: CD 75 F8 51 dumpv_send: Integer: 1375237581 (0x51F875CD) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Context dumph_send: Build String dumph_send: length dumpx_send: 09 00 00 00 dumpv_send: Integer: 9 (0x09) dumpx_send: 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_send: String: snmptrapd dumph_send: AgentX Payload dumph_send: (Un)Register Header dumpx_send: 00 7F 00 00 dumpv_send: Timeout: 0 dumpv_send: Priority: 127 dumpv_send: Range SubID: 0 dumph_send: (Un)Register Prefix dumpv_send: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalAgeOut.0 dumph_send: OID Header dumpx_send: 06 02 00 00 dumpv_send: # subids: 6 (0x06) dumpv_send: prefix: 2 (0x02) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 02 00 00 00 dumpv_send: Integer: 2 (0x02) dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumpx_send:30 00 00 00 dumpv_send: Integer: 48 (0x30) dumpx_recv:28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: AgentX Header dumpx_recv: 01 12 01 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 12 dumpv_recv: Command: 18 (Response) dumph_recv: Flags dumpx_recv: 01 dumpv_recv: Flags: 0x1 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 10 00 00 00 dumpv_recv: Integer: 16 (0x10) dumph_recv: Transaction ID dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumph_recv: Packet ID dumpx_recv: CD 75 F8 51 dumpv_recv: Integer: 1375237581 (0x51F875CD) dumph_recv: Payload Length dumpx_recv: 28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: PDU dumpx_recv: 16 74 01 00 dumpv_recv: Integer: 95254 (0x17416) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumph_recv: VarBindList dumph_recv: VarBind: dumph_recv: Type dumpx_recv: 05 00 dumpv_recv: Short: 5 (0x05) dumph_recv: OID Header dumpx_recv: 06 02 00 00 dumpv_recv: # subids: 6 (0x06) dumpv_recv: prefix: 2 (0x02) dumpv_recv: inclusive: 0 (0x00) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 02 00 00 00 dumpv_recv: Integer: 2 (0x02) dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumpv_recv: OID: NOTIFICATION-LOG-MIB::nlmConfigGlobalAgeOut.0 dumph_send: AgentX Header dumpx_send: 01 03 09 00 dumpv_send: Version: 1 dumpv_send: Command: 3 (Register) dumpv_send: Flags: 09 dumph_send: Session ID dumpx_send: 10 00 00 00 dumpv_send: Integer: 16 (0x10) dumph_send: Transaction ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Request ID dumpx_send: CE 75 F8 51 dumpv_send: Integer: 1375237582 (0x51F875CE) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Context dumph_send: Build String dumph_send: length dumpx_send: 09 00 00 00 dumpv_send: Integer: 9 (0x09) dumpx_send: 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_send: String: snmptrapd dumph_send: AgentX Payload dumph_send: (Un)Register Header dumpx_send: 00 7F 00 00 dumpv_send: Timeout: 0 dumpv_send: Priority: 127 dumpv_send: Range SubID: 0 dumph_send: (Un)Register Prefix dumpv_send: OID: NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsLogged.0 dumph_send: OID Header dumpx_send: 06 02 00 00 dumpv_send: # subids: 6 (0x06) dumpv_send: prefix: 2 (0x02) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 02 00 00 00 dumpv_send: Integer: 2 (0x02) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumpx_send:30 00 00 00 dumpv_send: Integer: 48 (0x30) dumpx_recv:28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: AgentX Header dumpx_recv: 01 12 01 00 dumpv_recv: dumph_recv: Version dumpx_recv: 01 dumpv_recv: Version: 1 dumph_recv: Command dumpx_recv: 12 dumpv_recv: Command: 18 (Response) dumph_recv: Flags dumpx_recv: 01 dumpv_recv: Flags: 0x1 dumph_recv: Reserved Byte dumpx_recv: 00 dumpv_recv: Reserved: 0x0 dumph_recv: Session ID dumpx_recv: 10 00 00 00 dumpv_recv: Integer: 16 (0x10) dumph_recv: Transaction ID dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumph_recv: Packet ID dumpx_recv: CE 75 F8 51 dumpv_recv: Integer: 1375237582 (0x51F875CE) dumph_recv: Payload Length dumpx_recv: 28 00 00 00 dumpv_recv: Integer: 40 (0x28) dumph_recv: PDU dumpx_recv: 17 74 01 00 dumpv_recv: Integer: 95255 (0x17417) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumpx_recv: 00 00 dumpv_recv: Short: 0 (0x00) dumph_recv: VarBindList dumph_recv: VarBind: dumph_recv: Type dumpx_recv: 05 00 dumpv_recv: Short: 5 (0x05) dumph_recv: OID Header dumpx_recv: 06 02 00 00 dumpv_recv: # subids: 6 (0x06) dumpv_recv: prefix: 2 (0x02) dumpv_recv: inclusive: 0 (0x00) dumph_recv: OID Segments dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 5C 00 00 00 dumpv_recv: Integer: 92 (0x5C) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 02 00 00 00 dumpv_recv: Integer: 2 (0x02) dumpx_recv: 01 00 00 00 dumpv_recv: Integer: 1 (0x01) dumpx_recv: 00 00 00 00 dumpv_recv: Integer: 0 (0x00) dumpv_recv: OID: NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsLogged.0 dumph_send: AgentX Header dumpx_send: 01 03 09 00 dumpv_send: Version: 1 dumpv_send: Command: 3 (Register) dumpv_send: Flags: 09 dumph_send: Session ID dumpx_send: 10 00 00 00 dumpv_send: Integer: 16 (0x10) dumph_send: Transaction ID dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Request ID dumpx_send: CF 75 F8 51 dumpv_send: Integer: 1375237583 (0x51F875CF) dumph_send: Dummy Length :-( dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumph_send: Context dumph_send: Build String dumph_send: length dumpx_send: 09 00 00 00 dumpv_send: Integer: 9 (0x09) dumpx_send: 73 6E 6D 70 74 72 61 70 64 00 00 00 dumpv_send: String: snmptrapd dumph_send: AgentX Payload dumph_send: (Un)Register Header dumpx_send: 00 7F 00 00 dumpv_send: Timeout: 0 dumpv_send: Priority: 127 dumpv_send: Range SubID: 0 dumph_send: (Un)Register Prefix dumpv_send: OID: NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsBumped.0 dumph_send: OID Header dumpx_send: 06 02 00 00 dumpv_send: # subids: 6 (0x06) dumpv_send: prefix: 2 (0x02) dumpv_send: inclusive: 0 (0x00) dumph_send: OID Segments dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 5C 00 00 00 dumpv_send: Integer: 92 (0x5C) dumpx_send: 01 00 00 00 dumpv_send: Integer: 1 (0x01) dumpx_send: 02 00 00 00 dumpv_send: Integer: 2 (0x02) dumpx_send: 02 00 00 00 dumpv_send: Integer: 2 (0x02) dumpx_send: 00 00 00 00 dumpv_send: Integer: 0 (0x00) dumpx_send:30 00 00 00 dumpv_send: Integer: 48 (0x30)