Re: questions about sub agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-10-19 at 07:13 +0000, 조용한 wrote:
> Is it possible for sub-agent to communicate with Master agent(net-snmp
> Master Agent) which is in other machine or different ip address

Yes.  Please see the FAQ entry:

	   How can I run AgentX with a different socket address?

and the documentation:

    $ man snmpd.conf
	     :
    AGENTX SUB-AGENTS

       AgentXSocket addr
              This defines the address the master agent listens at.
          The default is /var/agentx/master...  Another possibility
          is localhost:705


    $ man snmpd

    OPTIONS
       -x ADDRESS
              Listens for AgentX connections on the specified address
          rather than the default ’/var/agentx/master’.  The address
          can either be a Unix domain socket path, or the address of
        

> without changing any code?
> And if I should change code please let me know the way how to.

You will not need to change any code in the main Net-SNMP master
agent.   Whether you need to change your subagent code will depend
on how this subagent has been designed.


Please can you try reading the documentation *before* contacting
the mailing list in future.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.