RE: Regarding Agentx

This is a discussion on RE: Regarding Agentx within the SNMP Coders forums, part of the Networking and Network Related category; Hi! Thank you very much Dave. can I get clear explanation regarding first point that is , How subagents will register ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2007
Siva Prakash Reddy G
 
Posts: n/a
Default RE: Regarding Agentx


Hi!
Thank you very much Dave.

can I get clear explanation regarding first point that
is , How subagents will register with Master agent. 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.

If that above statement is right, then what is
resource files what it contains.



With Regards.
G.Siva Prakash Reddy.



-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Monday, May 21, 2007 2:18 PM
To: Siva Prakash Reddy G
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Regarding Agentx


On 21/05/07, Siva Prakash Reddy G <sivag@aztecsoft.com> wrote:
> 1. How subagents will register with Master Agent.


Just register the MIB modules as normal.
The agent framework will recognise that this is running as an AgentX
subagent, and forward the registrations to the master.

> 2. How to configure Master Agent and subagents.


The subagents won't need any special config (apart from any settings
that the individual MIB modules might require).

The master agent is set up as normal, but with one extra directive:

master agentx


> 3. If i am having parallel OID's, i mean if same oid's
> having subagents, how Master agent register the subagents.


When the subagents register with the master, they should specify an
appropriate context string. That context can then be used by the master
agent to distinguish between these subagents, and decide which subagent
to direct a particular incoming request on to.

You can specify the context directly with SNMPv3 (using -n),
or map from community strings to particular contexts in the
snmpd.file. I believe we've already explained the details of how
to do this in the earlier thread.


Please note that using AgentX instead of proxies will still not allow
you to query the same OID from two different subagents
in the same request. That is simply not possible with SNMP.

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/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0