Saifulla , I think the problem is in your snmpd.conf file . your configuration file will be rocommunity public rocommunity public rwcommunity private
the same line is comming twice . in that case snmpd read the last line (in bold characters) but tour changes will be in first line . you have to use the single line for each community . i think this will help you . please find the expected behavior mentioned below : Read-Only Community : if we change the read-only community to some string suppose "john123" the the same name gets stored in our configuration file and we can neither read any data from agent nor write the data to agent . because in snmp v1 and v2c community name is the only security , even our session between the manager and agent will not established . Read-Write community : if we change the write-only community , we can read the data but we cannot set the data . and in that case our read-only community should be the same as we have in snmpd.conf file Dave/wes , can you please give your comments!!!! Thanks Amit ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: net-snmp-coders@lists.sourceforge.net Sent: Thursday, 22 May, 2008 12:51:29 AM Subject: Net-snmp-coders Digest, Vol 24, Issue 31 Send Net-snmp-coders mailing list submissions to net-snmp-coders@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/net-snmp-coders or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Net-snmp-coders digest..." Today's Topics: 1. Query on community string (saifulla Mohd Abdul) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 May 2008 23:40:14 -0700 (PDT) From: saifulla Mohd Abdul <[EMAIL PROTECTED]> Subject: Query on community string To: net-snmp-coders@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=utf-8 Hi, If I configure the snmp community string as "abcd" in net-snmp agent. And do snmpwalk with community [EMAIL PROTECTED], it is working. Is this expected behaviour? Regards, Saif __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders End of Net-snmp-coders Digest, Vol 24, Issue 31 *********************************************** __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders