On 15 March 2010 09:49, Hemant Soundankar <hemantsoundan...@gmail.com> wrote:
> I dint actually get what u meant by copying the line.
> I am attaching my conf file with this reply. Please make the changes.

The best approach is probably to replace your config file with a
new snmpd.conf file, containing *just* the two lines

    rocommunity   public    192.168.1.0/24
    rwcommunity   democommunity  localhost

Then restart the agent.

That ought to allow full access from the system itself, using
the community string "democommunity",   and read-only
access from the local network, using the community "public"


Once that's working, then you can look at merging back any of
the other configuration settings that you actually need.
But I suggest you start with as simple a setup as possible.


If you still get nothing back, it's worth checking the firewall settings
on the target system.    Particularly if querying "localhost" works
but queries from a remote system don't.

You can test this by starting the agent using

    snmpd -f -Le -d

and running the queries.    You ought to see raw packet dumps
for incoming and outgoing requests.   If you see nothing at all,
then something is blocking the requests before they get to the
agent.  See the FAQ for more information.

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to