Re: subagent does not receive get requests: snmpget returns Timeout: No Response
Alexander Bubnov <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, Mike! Thanks for replay. For my machine firewall is not installed. I am trying to get value for NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 on *udp:localhost:705* run *snmpd -f -Le -Dagentx -d* to trace received packages by. Then *linux-h110 /root# snmpget -v1 -c rwpublic localhost nstAgentSubagentObject.0* and I can see next output: ... *Received 50 bytes from UDP: [127.0.0.1]->[127.0.0.1]:-31690** * *0000: 30 30 02 01 00 04 08 72 77 70 75 62 6C 69 63 A0 00.....rwpublic.** **0016: 21 02 04 08 34 0E 4D 02 01 00 02 01 00 30 13 30 !...4.M......0.0** **0032: 11 06 0D 2B 06 01 04 01 BF 08 02 04 01 01 02 00 ...+............** **0048: 05 00 ..** ** **Received SNMP packet(s) from UDP: [127.0.0.1]->[127.0.0.1]:-31690** ** GET message** ** -- NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0** **agentx/master: agentx master handler starting, mode = 0xa0** **agentx/master: request for variable (NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0)** **agentx: sending pdu (req=0xc,trans=0xb,sess=0x6)** **agentx_build: packet built okay** ** **Sending 60 bytes to UDP: unknown** **0000: 01 05 00 00 06 00 00 00 0B 00 00 00 0C 00 00 00 ................** **0016: 28 00 00 00 08 04 00 00 01 00 00 00 88 1F 00 00 (...............** **0032: 02 00 00 00 04 00 00 00 01 00 00 00 01 00 00 00 ................** * *0048: 02 00 00 00 00 00 00 00 00 00 00 00 ............* Here I cannot get that value and get an error: *Timeout: No Response from localhost.* Below output (the hex traces) is repeated by several times. Let me know please why the latest message keeps "unknown" instead of hostname and port? is it correct? If that traces are not enough, can you please help to find out a way to trace the root case of impossible getting value? Thanks in advance. 2009/2/6 Mike Ayers <[email protected]> > > From: Alexander Bubnov [mailto:[email protected]] > > Sent: Friday, February 06, 2009 2:05 AM > > > The root of cause is a protocol. When I change udp to tcp > > subagent can response for that get request. > > More likely, the root of the problem is your firewall. SNMP is > ordinarily run over UDP. > > > HTH, > > Mike > -- /BR, Alexander ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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