Re: Problem using net-snmp as subagent (Error in packet)
"Johnny Ljunggren" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave Shield wrote: > On 08/02/07, Johnny Ljunggren <[email protected]> wrote: >> > I'm pretty sure that the problem lies in the encoding of the OID .0.0, > Can you try turning on packet dumps in the subagent > and issue a GET request for one of the offending instances. I wasn't quite sure how to do it, but I've got debug output from my master agent, and an ethereal dump. I've attached them, but if it is not possible to send attachments to the ml then it is available here too: http://www.navtek.no/~johnny/snmpd -- Johnny Ljunggren, Navtek AS ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
snmpget.cap
(application/octet-stream, 234 B) - not displayed
AgentXDebug.txt
(text/plain, 3.3 KB)
20070209.20:33:17: 30713: (1)DEBUG : ++ AGENT++: data received from 127.0.0.1 port 32820. 20070209.20:33:17: 30713: (3)DEBUG : 30 2B 02 01 01 04 06 70 75 62 6C 69 63 A0 1E 02 20070209.20:33:17: 30713: (3)DEBUG : 04 79 FB E0 08 02 01 00 02 01 00 30 10 30 0E 06 20070209.20:33:17: 30713: (3)DEBUG : 0A 2B 06 01 02 01 02 02 01 16 01 05 00 20070209.20:33:17: 30713: (2)EVENT : RequestList: request received (id)(siz)(fro)(ver)(com)(type): (2046550024), (1), (127.0.0.1/32820), (SNMPv2c), (public), (160) 20070209.20:33:17: 30713: (2)INFO : snmpCommunityEntry: found v3 info for (community)(security_name)(tag): (public), (v1v2cPermittedManagers) 20070209.20:33:17: 30713: (3)EVENT : RequestList: received v1/v2c request (FOUND)(community)(cid)(cname)(filter_tag): : (TRUE), (public), ( 80 00 13 70 05 54 45 43 41 4D 53 2D 33 12 5C ...p.TECAMS-3.\ ), (), (v1v2cPermittedManagers) 20070209.20:33:17: 30713: (1)DEBUG : TaskManager: task manager found 20070209.20:33:17: 30713: (2)DEBUG : TaskManager: after notify 20070209.20:33:17: 30723: (2)EVENT : Agent: starting thread execution (pduType)(subrequests): (160), (1) 20070209.20:33:17: 30723: (2)EVENT : Mib: process request: get request, oid: (50), (1.3.6.1.2.1.2.2.1.22.1) 20070209.20:33:17: 30723: (3)EVENT : Mib: process subrequest: get request, oid: (50), (1.3.6.1.2.1.2.2.1.22.1) 20070209.20:33:17: 30723: (3)DEBUG : MasterAgentXMib: adding get subrequest (sid)(tid)(lower)(upper)(incl)(timeout)(type)(context)(repeater)(repetitions): (1), (50), (1.3.6.1.2.1.2.2.1.22.1), (), (1), (5), (5), (), (0), (0) 20070209.20:33:17: 30723: (4)EVENT : MasterAgentXMib: queued AgentX subrequest (sid)(tid)(type)(timeout): (1), (50), (5), (5) 20070209.20:33:17: 30723: (3)EVENT : MasterAgentXMib: sending AgentX subrequests (tid): (50) 20070209.20:33:17: 30723: (3)EVENT : AgentX: sending agentx pdu (sd)(type)(sid)(tid)(pid)(err)(errind): (6), (5), (1), (50), (2), (0), (0) 20070209.20:33:17: 30723: (3)EVENT : MasterAgentXMib: sent AgentX subrequests (tid)(count): (50), (1) 20070209.20:33:17: 30723: (2)EVENT : Agent: finished thread execution 20070209.20:33:17: 30715: (5)DEBUG : MasterAgentXMib: reading AgentX packet 20070209.20:33:17: 30715: (4)DEBUG : MasterAgentXMib: processing AgentX packet from (sd)(type): (6), (18) 20070209.20:33:17: 30715: (1)DEBUG : TaskManager: task manager found 20070209.20:33:17: 30715: (2)DEBUG : TaskManager: after notify 20070209.20:33:17: 30717: (4)EVENT : MasterAgentXMib: processing response (sd)(sid)(tid)(pid)(status)(vbs): (6), (1), (50), (2), (0), (0) 20070209.20:33:17: 30717: (1)ERROR : MasterAgentXMib: invalid AgentX response (sd)(sid)(tid)(req-vbs)(resp-vbs): (6), (1), (50), (1), (0) 20070209.20:33:17: 30717: (1)DEBUG : Snmpx::send called with UTarget 20070209.20:33:17: 30717: (4)DEBUG : SNMPMessage: return value for build message: (0) 20070209.20:33:17: 30717: (1)DEBUG : ++ SNMP++: sending to 127.0.0.1/32820: 20070209.20:33:17: 30717: (3)DEBUG : 30 2B 02 01 01 04 06 70 75 62 6C 69 63 A2 1E 02 20070209.20:33:17: 30717: (3)DEBUG : 04 79 FB E0 08 02 01 05 02 01 01 30 10 30 0E 06 20070209.20:33:17: 30717: (3)DEBUG : 0A 2B 06 01 02 01 02 02 01 16 01 05 00 20070209.20:33:17: 30717: (2)EVENT : RequestList: request answered (rid)(tid)(to)(err)(send)(sz): (2046550024), (50), (127.0.0.1/32820), (5), (0), (1)