On 3 February 2010 07:16, <ganeshyell...@bel.co.in> wrote: > i started agent generally using net start "net-snmp agent" > and stop using "net stop "net-snmp agent" the commands.
I'm not a Windows expert, so I don't know how the "net {start,stop}" mechanism works. I'll leave commenting on that side of things to someone else. > But ,as you told, i started using the below > > snmpd -f -d -Dread_config -c:/usr/share/snmp/snmpd.conf That last options is not correct - it's trying to load a config file called :/usr/share/snmp/snmpd.conf (note the leading colon!) which does not exist. The log you posted includes a warning about this. But you don't need this anyway - the agent is picking up the config file /usr/etc/snmp/snmpd.conf, which contains the necessary access control settings. I would expect that this should work correctly. What happens if you run snmpget -v 2c -c public localhost system.sysDescr.0 having started the agent using the command line above? What do you see reported by snmpget? What gets logged by the agent? > also i attached one more file consists of step by step configuration of > agent(mail2.doc). > > > while configuring agent some errors are cominglike below > > substr outside of string at C:/Perl/lib/Term/ReadLine/readline.pm line 1976. > Use of uninitialized value $s in length at > C:/Perl/lib/Term/ReadLine/readline.pm line 1785. > > > You can find out this in mail2.doc Forget about using "snmpconf", or any warnings from that. You've got a reasonable agent config file. Concentrate on discovering when/why this doesn't work. Dave ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users