On Thu, 6 May 2010 08:15:58 +0100 Dave wrote:
DS> > Essentially I am seeing the below command succeeds for any community name.
DS> > Please suggest, if i am missing something.
DS> > snmpwalk -v 1 -c whatever IP
DS> 
DS> It's impossible to tell what might be happening from a single (incomplete)
DS> config entry.  We'd probably need to see the full snmpd.conf file,
DS> and know a bit more about exactly where this is installed, and how you
DS> are starting the agent.

It's also possible that the agent isn't reading the config file you think it
is... Older releases would accept any community string in the absence of any
configuration, which is just what you are seeing. Try this to see where it's
looking for config files:

   snmpd -Lo -Dread_config -H 2>/dev/null | egrep "(for snmpd|Reading)"

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to