Hi!
                Thank you very much Dave for constant support.

                whether I need  to write " master -X Agentx " in the
snmpd.conf file  to make my agent to behave as Master agent.  What are
all things do I need to configure  in the snmpd.conf to behave as a
Master agent. Do I need to write separate code for master agent.
        
                1. How will master agent will come to know about
subagents, I mean how many subagents are there under him.
                2. How master agent will send request to particular
agent.
        
                I think master agent should know ip address and oid of
the  sugagents, otherwise it should register the ip address and oid of
the subagents, other wise how he will come to know about subagents.

                please help out, I am bit confused state. Please help
me.  

      With Regards.
G.Siva Prakash Reddy.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Wednesday, May 23, 2007 1:34 PM
To: Siva Prakash Reddy G
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Regarding Agentx


On 23/05/07, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
>                 can I get clear explanation regarding first point that

> is , How subagents will register with Master agent.

As far as the Net-SNMP agent is concerned, this is handled
automatically. As long as it knows whether it's running as an AgentX
subagent or as the master agent (e.g. the -X flag), then the agent
framework will register the
MIBs appropriately.   Nothing special needs to be done in the MIB code.

> Few documents telling that
>
>                         To register the subagent, the Master Agent
> binds it to the MIB. The Master Agent then determines its present
> location, using one of the following methods:
>
>                         Static method - The Master Agent reads agent
> resource files. This resource file contains an entry for each
> subagent.
>
>                         Dynamic method - The Master Agent receives the

> information from the subagents. The subagent sends a SET request
> containing the MIB objects needed to register with the Master Agent,
> through the use of the registration API.


No - that's not correct for the Net-SNMP agent.

A quick Google seems to indicate that this is taken from the
documentation relating to the Solaris SNMP agent. You will need to
contact Sun about how to configure that agent - this mailing list is for
support of the Net-SNMP suite only.

Dave


The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.

www.aztecsoft.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to