Re: session "not reading" messages: ARM xcompile
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Yes, it was, as I said in my update, access control. I traced it through to a debug message like "no such com2sec entry" and figured it out from there. Would there have been a better way? I guess obscure responses are good for security. Can one follow the authentication procedure? I'm very happy, though. I've got MRTG monitoring my device and haven't written a line of code yet(!), but spent three days tearing my hair out writing configurations! (At which point the sample snmpd.conf page started to make sense. I don't imagine this is an unusual path to snmp agent coder enlightement.) Thanks again, D. > On 5 April 2012 17:20, <[email protected]> wrote: >> Update: it IS parsing the packets. It just isn't sending anything. > > That sounds suspiciously like access control. > What are the access control settings in the snmpd.conf file. > > >> sess_process_packet: session 0x229d58 fd 8 pkt 0x27bc90 length 48 >> >> Received 48 byte packet from UDP: [172.17.6.74]:44104->[172.17.4.3]:1161 >> 0000: 30 2E 02 01 01 04 0B 72 6F 63 6F 6D 6D 75 6E 69 >> 0......rocommuni >> 0016: 74 79 A0 1C 02 04 1E 47 30 E9 02 01 00 02 01 00 >> ty.....G0....... >> 0032: 30 0E 30 0C 06 08 2B 06 01 02 01 01 03 00 05 00 >> 0.0...+......... > > What is the command that you are using to send this request? > It looks as if it's something like > > snmpget -v 2c -c rocommunity 172.17.4.3 sysUpTime.0 > > Have you configured the agent to recognise/accept the community > name "rocommunity" ? > You'd need a line such as > > rocommunity rocommunity > > in the snmpd.conf file. > > Dave > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ 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