On Sat, Nov 22, 2014 at 5:34 AM, Claus Klein <claus.kl...@arcormail.de>
wrote:
> Hi,
>
> I have tested net-snmp as master agent with current agentpp subagent.
> The most important problem I found is:
>
>
> The row destroy at subagent does not work together with net-snmp master
> agent!
>
>
> The agentX++ subagent send the (Index Deallocate) command before it send
> the response to
> the (Commit Set) command.
>
> This seems a Protocol error and the master agent (net-snmp) sends
> a response with errstat=261 after receiving the (Index Deallocate) message.
>
261 is "Index not allocated". This seems like a perfectly normal response
to Index Deallocate. Do you have earlier traces showing that the subagent
had allocated that index?
After some retries, the master agent close the session.
>
> This ends with a SIGPIPE error at subagent site. If it is handled right,
> it ends in more problems
> at the agentX++ subagent while cleanup() and terminate_set_requests();
>
>
> My understanding of the AgentX protocol is that **the client has first to
> send**
> in reply an agentx-Response-PDU to the agentx-CommitSet-PDU received.
>
> Than, while agentx-CleanupSet-PDU it has to do the Index Deallocate and
> the Unregister MIB …
>
> ===========================
> text snippets from rfc2741:
> ===========================
>
> 7.2.4.2. Subagent Processing of the agentx-CommitSet-PDU
>
> ********************************************************************
> The agentx-CommitSet-PDU indicates that the subagent should actually
> perform (as described in the post-validation sections of 4.2.5 of RFC
> 1905 [13]) the management operation indicated by the previous
> TestSet-PDU. After carrying out the management operation, the
> subagent sends in reply an agentx-Response-PDU whose res.error field
> is set to one of the following SNMPv2 PDU error-status values (see
> section 3, "Definitions", in RFC 1905 [13]):
>
> noError (0),
> commitFailed (14)
>
> If this value is `commitFailed', the res.index field must be set to
> the index of the VarBind (as it occurred in the agentx-TestSet-PDU)
> for which the operation failed. Otherwise res.index is set to 0.
> ********************************************************************
>
> ...
>
>
> 7.2.4.4. Subagent Processing of the agentx-CleanupSet-PDU
>
> ********************************************************************
> The agentx-CleanupSet-PDU signals the end of processing of the
> management operation requested in the previous TestSet-PDU. This is
> an indication to the subagent that it may now release any resources
> it may have reserved in order to carry out the management request.
> No response is sent by the subagent.
> ********************************************************************
>
>
> What do you mean?
>
I think that this is a valid exchange - the spec says "After carrying out
the management operation, the subagent sends ..." -- and in this case, the
management operation included sending an Index-Deallocate PDU, which the
master agent parsed and responded to (with an indication that the index
being deallocated was not allocated). The subagent then failed to respond
to retransmissions of the CommitSet, so the master agent closed the session
since there's not much else to do.
There is definitely a bug in the subagent here, since it should not go
silent like this - once it gets the response to the Index-Deallocate it
should continue processing of the CommitSet. There may or may not be a bug
in the master agent here -- if the subagent had properly allocated the
index, and then got the error that the index wasn't allocated when it tried
to deallocate it, that's a master agent bug. You need to capture the
tracing where the subagent sends the IndexAllocate PDU to find that out.
Bill
>
> With Regards
> Claus
>
>
> =============================
> snippets snmpd debug messages
> =============================
>
> snmpset -r0 -t10 -v3 -u unsecureUser -n subagent localhost:4700
> 'netSnmpHostRowStatus."nmsv6"' = destroy (6)
>
>
> dumph_recv: SNMP Version
> dumpx_recv: 02 01 03
> dumpv_recv: Integer: 3 (0x03)
> dumph_recv: SNMPv3 Message
> dumph_recv: SNMP Version Number
> dumpx_recv: 02 01 03
> dumpv_recv: Integer: 3 (0x03)
> dumph_recv: msgGlobalData
> dumph_recv: msgID
> dumpx_recv: 02 04 38 56 7C 63
> dumpv_recv: Integer: 945192035 (0x38567C63)
> dumph_recv: msgMaxSize
> dumpx_recv: 02 03 00 FF E3
> dumpv_recv: Integer: 65507 (0xFFE3)
> dumph_recv: msgFlags
> dumpx_recv: 04 01 04
> dumpv_recv: String: .
> dumph_recv: msgSecurityModel
> dumpx_recv: 02 01 03
> dumpv_recv: Integer: 3 (0x03)
> dumph_recv: SM msgSecurityParameters
> dumph_recv: msgAuthoritativeEngineID
> dumpx_recv: 04 11 80 00 1F 88 80 1B 6A F1 7D E2 64 6F 54 00 00 00 00
> dumpv_recv: String: ......j.}.doT....
> dumph_recv: msgAuthoritativeEngineBoots
> dumpx_recv: 02 01 01
> dumpv_recv: Integer: 1 (0x01)
> dumph_recv: msgAuthoritativeEngineTime
> dumpx_recv: 02 01 41
> dumpv_recv: Integer: 65 (0x41)
> dumph_recv: msgUserName
> dumpx_recv: 04 0C 75 6E 73 65 63 75 72 65 55 73 65 72
> dumpv_recv: String: unsecureUser
> dumph_recv: msgAuthenticationParameters
> dumpx_recv: 04 00
> dumpv_recv: String:
> dumph_recv: msgPrivacyParameters
> dumpx_recv: 04 00
> dumpv_recv: String:
> dumph_recv: ScopedPDU
> dumph_recv: contextEngineID
> dumpx_recv: 04 11 80 00 1F 88 80 1B 6A F1 7D E2 64 6F 54 00 00 00 00
> dumpv_recv: String: ......j.}.doT....
> dumph_recv: contextName
> dumpx_recv: 04 08 73 75 62 61 67 65 6E 74
> dumpv_recv: String: subagent
> dumph_recv: SET
> dumpv_recv: Command SET
> dumph_recv: request_id
> dumpx_recv: 02 04 24 B4 F3 5A
> dumpv_recv: Integer: 615838554 (0x24B4F35A)
> dumph_recv: error status
> dumpx_recv: 02 01 00
> dumpv_recv: Integer: 0 (0x00)
> dumph_recv: error index
> dumpx_recv: 02 01 00
> dumpv_recv: Integer: 0 (0x00)
> dumph_recv: VarBindList
> dumph_recv: VarBind
> dumph_recv: Name
> dumpx_recv: 06 12 2B 06 01 04 01 BF 08 02 02 02 01 05 05 6E
> 6D 73 76 36
> dumpv_recv: ObjID:
> NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54
> dumph_recv: Value
> dumpx_recv: 02 01 06
> dumpv_recv: Integer: 6 (0x06)
>
> agentx/master: agentx master handler starting, mode = 0x00
> agentx/master: request for variable
> (NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54)
>
> agentx/master: sending pdu (req=0x8,trans=0x7,sess=0xc)
> dumph_send: AgentX Header
> dumpx_send: 01 08 08 00
> dumpv_send: Version: 1
> dumpv_send: Command: 8 (Test Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> dumpv_send: Flags: 08
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 08 00 00 00
> dumpv_send: Integer: 8 (0x08)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: Community
> dumph_send: Build String
> dumph_send: length
> dumpx_send: 08 00 00 00
> dumpv_send: Integer: 8 (0x08)
> dumpx_send: 73 75 62 61 67 65 6E 74
> dumpv_send: String: subagent
> dumph_send: AgentX Payload
> dumph_send: Get* Variable List
> dumph_send: VarBind
> dumph_send: type
> dumpx_send: 02 00
> dumpv_send: Short: 2 (0x02)
> dumph_send: name
> dumpv_send: OID:
> NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54
> dumph_send: OID Header
> dumpx_send: 0D 04 00 00
> dumpv_send: # subids: 13 (0x0D)
> 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: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 01 00 00 00
> dumpv_send: Integer: 1 (0x01)
> dumpx_send: 05 00 00 00
> dumpv_send: Integer: 5 (0x05)
> dumpx_send: 05 00 00 00
> dumpv_send: Integer: 5 (0x05)
> dumpx_send: 6E 00 00 00
> dumpv_send: Integer: 110 (0x6E)
> dumpx_send: 6D 00 00 00
> dumpv_send: Integer: 109 (0x6D)
> dumpx_send: 73 00 00 00
> dumpv_send: Integer: 115 (0x73)
> dumpx_send: 76 00 00 00
> dumpv_send: Integer: 118 (0x76)
> dumpx_send: 36 00 00 00
> dumpv_send: Integer: 54 (0x36)
> dumph_send: value
> dumpx_send: 06 00 00 00
> dumpv_send: Integer: 6 (0x06)
> dumpx_send: 4C 00 00 00
> dumpv_send: Integer: 76 (0x4C)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 08 08 00
> dumpv_send: Version: 1
> dumpv_send: Command: 8 (Test Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> dumpv_send: Flags: 08
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 08 00 00 00
> dumpv_send: Integer: 8 (0x08)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: Community
> dumph_send: Build String
> dumph_send: length
> dumpx_send: 08 00 00 00
> dumpv_send: Integer: 8 (0x08)
> dumpx_send: 73 75 62 61 67 65 6E 74
> dumpv_send: String: subagent
> dumph_send: AgentX Payload
> dumph_send: Get* Variable List
> dumph_send: VarBind
> dumph_send: type
> dumpx_send: 02 00
> dumpv_send: Short: 2 (0x02)
> dumph_send: name
> dumpv_send: OID:
> NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54
> dumph_send: OID Header
> dumpx_send: 0D 04 00 00
> dumpv_send: # subids: 13 (0x0D)
> 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: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 01 00 00 00
> dumpv_send: Integer: 1 (0x01)
> dumpx_send: 05 00 00 00
> dumpv_send: Integer: 5 (0x05)
> dumpx_send: 05 00 00 00
> dumpv_send: Integer: 5 (0x05)
> dumpx_send: 6E 00 00 00
> dumpv_send: Integer: 110 (0x6E)
> dumpx_send: 6D 00 00 00
> dumpv_send: Integer: 109 (0x6D)
> dumpx_send: 73 00 00 00
> dumpv_send: Integer: 115 (0x73)
> dumpx_send: 76 00 00 00
> dumpv_send: Integer: 118 (0x76)
> dumpx_send: 36 00 00 00
> dumpv_send: Integer: 54 (0x36)
> dumph_send: value
> dumpx_send: 06 00 00 00
> dumpv_send: Integer: 6 (0x06)
> dumpx_send: 4C 00 00 00
> dumpv_send: Integer: 76 (0x4C)
> agentx_build: packet built okay
>
> dumpx_recv: 48 00 00 00
> dumpv_recv: Integer: 72 (0x48)
> dumph_recv: AgentX Header
> 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: 0C 00 00 00
> dumpv_recv: Integer: 12 (0x0C)
> dumph_recv: Transaction ID
> dumpx_recv: 07 00 00 00
> dumpv_recv: Integer: 7 (0x07)
> dumph_recv: Packet ID
> dumpx_recv: 08 00 00 00
> dumpv_recv: Integer: 8 (0x08)
> dumph_recv: Payload Length
> dumpx_recv: 48 00 00 00
> dumpv_recv: Integer: 72 (0x48)
> dumph_recv: PDU
> dumpx_recv: 00 00 00 00
> dumpv_recv: Integer: 0 (0x00)
> 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: 02 00
> dumpv_recv: Short: 2 (0x02)
> dumph_recv: OID Header
> dumpx_recv: 0D 04 00 00
> dumpv_recv: # subids: 13 (0x0D)
> 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: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> dumpx_recv: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> dumpx_recv: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> dumpx_recv: 01 00 00 00
> dumpv_recv: Integer: 1 (0x01)
> dumpx_recv: 05 00 00 00
> dumpv_recv: Integer: 5 (0x05)
> dumpx_recv: 05 00 00 00
> dumpv_recv: Integer: 5 (0x05)
> dumpx_recv: 6E 00 00 00
> dumpv_recv: Integer: 110 (0x6E)
> dumpx_recv: 6D 00 00 00
> dumpv_recv: Integer: 109 (0x6D)
> dumpx_recv: 73 00 00 00
> dumpv_recv: Integer: 115 (0x73)
> dumpx_recv: 76 00 00 00
> dumpv_recv: Integer: 118 (0x76)
> dumpx_recv: 36 00 00 00
> dumpv_recv: Integer: 54 (0x36)
> dumpv_recv: OID:
> NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54
> dumpx_recv: 06 00 00 00
> dumpv_recv: Integer: 6 (0x06)
> agentx/master: got response errstat=0, (req=0x8,trans=0x7,sess=0xc)
>
> agentx/master: handle_agentx_response() finishing...
> agentx/master: agentx master handler starting, mode = 0x01
>
> agentx/master: agentx master handler starting, mode = 0x02
> agentx/master: request for variable
> (NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54)
>
> agentx/master: sending pdu (req=0x9,trans=0x7,sess=0xc)
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> dumpx_recv: 3C 00 00 00
> dumpv_recv: Integer: 60 (0x3C)
> dumph_recv: AgentX Header
> dumph_recv: Version
> dumpx_recv: 01
> dumpv_recv: Version: 1
> dumph_recv: Command
> dumpx_recv: 0F
> dumpv_recv: Command: 15 (Index Deallocate)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 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: 0C 00 00 00
> dumpv_recv: Integer: 12 (0x0C)
> dumph_recv: Transaction ID
> dumpx_recv: 04 00 00 00
> dumpv_recv: Integer: 4 (0x04)
> dumph_recv: Packet ID
> dumpx_recv: 08 00 00 00
> dumpv_recv: Integer: 8 (0x08)
> dumph_recv: Payload Length
> dumpx_recv: 3C 00 00 00
> dumpv_recv: Integer: 60 (0x3C)
> dumph_recv: Context
> dumpx_recv: 08 00 00 00
> dumpv_recv: Integer: 8 (0x08)
> dumpx_recv: 08 00 00 00 73 75 62 61 67 65 6E 74
> dumpv_recv: String: subagent
> dumph_recv: PDU
> dumph_recv: VarBindList
> dumph_recv: VarBind:
> dumph_recv: Type
> dumpx_recv: 04 00
> dumpv_recv: Short: 4 (0x04)
> dumph_recv: OID Header
> dumpx_recv: 07 04 00 00
> dumpv_recv: # subids: 7 (0x07)
> 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: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> dumpx_recv: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> dumpx_recv: 02 00 00 00
> dumpv_recv: Integer: 2 (0x02)
> 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: NET-SNMP-MIB::netSnmp.2.2.2.1.1
> dumpx_recv: 05 00 00 00
> dumpv_recv: Integer: 5 (0x05)
> dumpx_recv: 05 00 00 00 6E 6D 73 76 36 00 00 00
> dumpv_recv: String: nmsv6.nt
>
> agentx/master: handle pdu (req=0x8,trans=0x4,sess=0xc)
> agentx/master: send response, stat 261 (req=0x8,trans=0x4,sess=0xc)
>
> dumph_send: AgentX Header
> dumpx_send: 01 12 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 18 (Response)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 04 00 00 00
> dumpv_send: Integer: 4 (0x04)
> dumph_send: Request ID
> dumpx_send: 08 00 00 00
> dumpv_send: Integer: 8 (0x08)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: C1 19 00 00
> dumpv_send: Integer: 6593 (0x19C1)
> dumph_send: Response
> dumpx_send: C1 19 00 00
> dumpv_send: sysUpTime: 6593
> dumpx_send: 05 01
> dumpv_send: Short: 261 (0x105)
> dumpx_send: 00 00
> dumpv_send: Short: 0 (0x00)
> dumph_send: Response errors
> dumpx_send: 05 01 00 00
> dumpv_send: errstat: 261 <<<<<<<<<<<<<<<<<<<<<<<<
> errorstat set!!!!!!!!!!!!!!!!!!!!!
> dumpv_send: errindex: 0
> dumph_send: Get* Variable List
> dumph_send: VarBind
> dumph_send: type
> dumpx_send: 04 00
> dumpv_send: Short: 4 (0x04)
> dumph_send: name
> dumpv_send: OID: NET-SNMP-MIB::netSnmp.2.2.2.1.1
> dumph_send: OID Header
> dumpx_send: 07 04 00 00
> dumpv_send: # subids: 7 (0x07)
> 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: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 02 00 00 00
> dumpv_send: Integer: 2 (0x02)
> dumpx_send: 01 00 00 00
> dumpv_send: Integer: 1 (0x01)
> dumpx_send: 01 00 00 00
> dumpv_send: Integer: 1 (0x01)
> dumph_send: value
> dumph_send: Build String
> dumph_send: length
> dumpx_send: 05 00 00 00
> dumpv_send: Integer: 5 (0x05)
> dumpx_send: 6E 6D 73 76 36 00 00 00
> dumpv_send: String: nmsv6
> dumpx_send: 38 00 00 00
> dumpv_send: Integer: 56 (0x38)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< repeat 1
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< repeat 2
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< repeat 3
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< repeat 4
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> dumph_send: AgentX Header
> dumpx_send: 01 09 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 9 (Commit Set)
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< repeat 5
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 09 00 00 00
> dumpv_send: Integer: 9 (0x09)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> ########################################################
> agentx/master: timeout on session 0x7fb0735107c0 req=0x9
> agentx/master: close 0x7fb0735107c0, -1
> ########################################################
>
> agentx/master: agentx master handler starting, mode = 0x05
> agentx/master: request for variable
> (NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54)
>
> agentx/master: sending pdu (req=0xa,trans=0x7,sess=0xc)
> dumph_send: AgentX Header
> dumpx_send: 01 0A 00 00
> dumpv_send: Version: 1
> dumpv_send: Command: 10 (Undo Set)
> dumpv_send: Flags: 00
> dumph_send: Session ID
> dumpx_send: 0C 00 00 00
> dumpv_send: Integer: 12 (0x0C)
> dumph_send: Transaction ID
> dumpx_send: 07 00 00 00
> dumpv_send: Integer: 7 (0x07)
> dumph_send: Request ID
> dumpx_send: 0A 00 00 00
> dumpv_send: Integer: 10 (0x0A)
> dumph_send: Dummy Length :-(
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> dumph_send: AgentX Payload
> dumpx_send: 00 00 00 00
> dumpv_send: Integer: 0 (0x00)
> agentx_build: packet built okay
>
> register_mib: unregister_mibs_by_session(0x7fb0735107c0) ctxt ""
> register_mib: unload(NET-SNMP-MIB::netSnmp.2, [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.5.110.109.115.118.55,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.9.108.111.99.97.108.104.111.115.117,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.2.13.98.114.111.97.100.99.97.115.116.104.111.115.117,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.5.110.109.115.118.55,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.9.108.111.99.97.108.104.111.115.117,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.3.13.98.114.111.97.100.99.97.115.116.104.111.115.117,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.5.110.109.115.118.55,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.9.108.111.99.97.108.104.111.115.117,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.4.13.98.114.111.97.100.99.97.115.116.104.111.115.117,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54,
> [NIL])
> register_mib: unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.55,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.9.108.111.99.97.108.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.9.108.111.99.97.108.104.111.115.117,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.13.98.114.111.97.100.99.97.115.116.104.111.115.116,
> [NIL])
> register_mib:
> unload(NET-SNMP-MIB::netSnmp.2.2.2.1.5.13.98.114.111.97.100.99.97.115.116.104.111.115.117,
> [NIL])
> agentx/master: close transport
> agentx/master: timeout on session 0x7fb0735107c0 req=0xa
>
> ##################################
> agentx/master: NULL sess_pointer??
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< is this an error?
> ##################################
>
> dumph_send: SNMPv3 Message
> dumph_send: RESPONSE
> dumph_send: VarBind
> dumph_send: Value
> dumpx_send: 02 01 06
> dumpv_send: Integer: 6 (0x06)
> dumph_send: Name
> dumpx_send: 06 12 2B 06 01 04 01 BF 08 02 02 02 01 05 05 6E 6D 73
> 76 36
> dumpv_send: ObjID:
> NET-SNMP-MIB::netSnmp.2.2.2.1.5.5.110.109.115.118.54
> dumph_send: error index
> dumpx_send: 02 01 01
> dumpv_send: Integer: 1 (0x01)
> dumph_send: error status
> dumpx_send: 02 01 05
> dumpv_send: Integer: 5 (0x05)
> dumph_send: request_id
> dumpx_send: 02 04 24 B4 F3 5A
> dumpv_send: Integer: 615838554 (0x24B4F35A)
> dumph_send: ScopedPdu
> dumph_send: contextName
> dumpx_send: 04 08 73 75 62 61 67 65 6E 74
> dumpv_send: String: subagent
> dumph_send: contextEngineID
> dumpx_send: 04 11 80 00 1F 88 80 1B 6A F1 7D E2 64 6F 54 00 00 00 00
> dumpv_send: String: ......j.}.doT....
> dumph_send: msgSecurityModel
> dumpx_send: 02 01 03
> dumpv_send: Integer: 3 (0x03)
> dumph_send: msgFlags
> dumpx_send: 04 01 00
> dumpv_send: String: .
> dumph_send: msgMaxSize
> dumpx_send: 02 03 00 FF E3
> dumpv_send: Integer: 65507 (0xFFE3)
> dumph_send: msgID
> dumpx_send: 02 04 38 56 7C 63
> dumpv_send: Integer: 945192035 (0x38567C63)
> dumph_send: SNMP Version Number
> dumpx_send: 02 01 03
> dumpv_send: Integer: 3 (0x03)
> dumph_send: SM msgSecurityParameters
> dumph_send: msgPrivacyParameters
> dumpx_send: 04 00
> dumpv_send: String: [NULL]
> dumph_send: msgAuthenticationParameters
> dumpx_send: 04 00
> dumpv_send: String: [NULL]
> dumph_send: msgUserName
> dumpx_send: 04 0C 75 6E 73 65 63 75 72 65 55 73 65 72
> dumpv_send: String: unsecureUser
> dumph_send: msgAuthoritativeEngineTime
> dumpx_send: 02 02 01 2C
> dumpv_send: Integer: 300 (0x12C)
> dumph_send: msgAuthoritativeEngineBoots
> dumpx_send: 02 01 01
> dumpv_send: Integer: 1 (0x01)
> dumph_send: msgAuthoritativeEngineID
> dumpx_send: 04 11 80 00 1F 88 80 1B 6A F1 7D E2 64 6F 54 00 00 00 00
> dumpv_send: String: ......j.}.doT....
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders