On Thu, 2006-02-09 at 15:04 +0530, vishakha s wrote:

> In 10.9.10.195 (master agent ) in snmpd.conf
> i included
>  master agentx
>  agentxsocket 10.50.32.153:705

So you've told the agent running on a host with IP
address 10.9.10.195, that it should listen for connections
on the interface with IP address 10.50.32.153?
Just how do you expect it to do that?

The master agent can only listen on its *local*
interfaces.  Try

    agentxsocket  10.9.10.195:705


> and configured it as --with-mib-modules=master/agentx

Eh?  That doesn't make sense at all!

Firstly, the "--with-mib-modules" settings are used before
you *compile* the software, not before you run it.

Secondly, that MIB module doesn't even exist.  I'd expect
the configure script to throw an error.

Thirdly, the AgentX support is included by default.
You don't need to give any special flags to configure.
In fact, I'd forget about configure altogether.

If you've got an SNMP agent installed, just use that
and don't fiddle with the source at all.


> What settings i need to do in subagent ,i am confused in this.

I think you're confused about the master agent, let alone
the subagent.   Concentrate on one thing at a time. Until
you get the master agent running with AgentX successfully,
there's no point in looking at the subagent at all.

Set up the snmpd.conf file as indicated above, and run
the (master) agent as

        snmpd -f -Le -Dagentx

What does it display?
If you then run "netstat -an", can you see a listening
connection on port 705 or not?
If you run "lsof" on the running agent, can you see
mention of TCP port 705?

Don't even think about running the subagent until those
tests are successful.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to