Hi!
Thank you Dave, for you are constant support.
if I configured snmpd.conf file as shown below I am
getting only one sub-agent information, I am not getting second
sug-agent information, I don't know where things are going wrong.
# sec.name
source community
com2sec -Cn modemhost1 modem1
default public
com2sec -Cn modemhost2 modem2
default public
# groupName securityModel
securityName
group remotehostGroup v1 modem1
group remotehostGroup v2c modem1
group modemGroup1 v1 modem2
group modemGroup1 v2c modem2
# name incl/excl subtree
mask(optional)
#view systemview included .1.3.6
view systemview included
.1.3.6.1.4.1.6798
view systemview included mib-2
view systemview included snmpV2
view systemview included
.1.3.6.1.4.1.2021.9
view systemview included
.1.3.6.1.4.1.2021.10
view systemview included
.1.3.6.1.4.1.13995
# group context
sec.model sec.level prefix read write
notif
access remotehostGroup modemhost1
any noauth exact systemview none none
access modemGroup1 modemhost2
any noauth exact systemview none none
proxy -Cn modemhost1 -v2c -c public remotehost1
1.3.6.1.4.1.6798
proxy -Cn modemhost2 -v2c -c public remotehost2
1.3.6.1.4.1.6798
please correct me, if my configuration is
worng.
one more question is that, whether both master
agent and subagent should have same snmp versions.
With Regards.
G.Siva Prakash Reddy.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, May 14, 2007 4:09 PM
To: Siva Prakash Reddy G
Cc: [email protected]
Subject: Re: FW: regarding creation of subagents using proxy.
On 14/05/07, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
> what I mean is manager sends a request to the master agent(
> 192.168.157.52), in the master agent I have configured the snmpd.conf
> file.... Then Master agent sends request to the subagents
> i.e.,10.10.1.10 and 10.10.1.20.
No.
The master agent forwards the request to *either* 10.10.1.10 *or*
10.10.1.20, depending on the context (or community string) of the
original request. It cannot duplicate one request into two.
[And before anyone else chips in - yes, I know that it's possible to
proxy different areas of the OID subtree to different subagents. That's
not the scenario that Siva is describing]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders