Hi!
Thankx Dave.
>Try running the following commands on the same system
as the master agent is running on:
> snmpget -v 2c -c public remotehost1
.1.3.6.1.2.1.1.1.0
> snmpgetnext -v 2c -c public remotehost1
1.3.6.1.4.1.6798
> snmpget -v 2c -c public remotehost2
.1.3.6.1.2.1.1.1.0
> snmpgetnext -v 2c -c public remotehost2
1.3.6.1.4.1.6798
the above commands are working fine. Even,using
snmpv3 it is working fine, that is ,
I have configured my manager to snmpv3 and Master Agent
confiured to snmpv3, and subagents are snmpv2.
Using context name proxying is working fine. But my
requirement is, when do walk operation, it should display both subagents
information,But when i did walk operation on particular subagent using
context name, it displays the values of the particular subagent
information.
please look at my snmpd.conf file, as shown below.
rouser siva priv
# sec.name source community
com2sec notConfigUser default public
com2sec ConfigUser default private
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
group ConfigGroup v1 ConfigUser
group ConfigGroup v2c ConfigUser
#access notConfigGroup modem1 usm priv
exact systemview none none
access notConfigGroup "" any noauth exact
systemview none none
access ConfigGroup "" any noauth exact
systemview systemview none
proxy -Cn modem2 -v2c -c public 10.10.1.20
1.3.6.1.4.1.6798
proxy -Cn modem1 -v2c -c public 10.10.1.10
1.3.6.1.4.1.6798
How can I do. My exact requirement is , when you do walk
operation on particular table, from the MIB-Browser, it should show
information of all the subagents in single walk operation.
With Regards.
G.Siva Prakash Reddy.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, May 15, 2007 2:10 PM
To: Siva Prakash Reddy G
Cc: [email protected]
Subject: Re: FW: regarding creation of subagents using proxy.
On 15/05/07, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
> 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.
It a bit difficult to be sure (since the format of the snmpd.conf file
gets manged in transit), but that config looks to be OK.
Try running the following commands on the same system as the master
agent is running on:
snmpget -v 2c -c public remotehost1 .1.3.6.1.2.1.1.1.0
snmpgetnext -v 2c -c public remotehost1 1.3.6.1.4.1.6798
snmpget -v 2c -c public remotehost2 .1.3.6.1.2.1.1.1.0
snmpgetnext -v 2c -c public remotehost2 1.3.6.1.4.1.6798
What is the output of those four commands?
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