Thanks once again for replying

still I am getting same errors,
I just want to know, whether I can use context name for
snmp verion 1 and 2, because some documents are telling, context name is
supported by snmpv3 only.
If I can use, tell how to use it. If not, tell me how to
do proxy settings for snmp version 1 and 2, if I want to retrive the
values from different subagents containing same OID's.
please help me out from this problem.

With Regards.
G.Siva Prakash Reddy.

-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Friday, May 04, 2007 2:17 PM
To: Siva Prakash Reddy G
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: snmp proxy settings.

On 04/05/07, Siva Prakash Reddy G wrote:
> If I run the agent with above mentioned snmpd configuration file I am
> getting an error like.
> /etc/snmp/snmpd.conf: line 48: Error: bad source address
> /etc/snmp/snmpd.conf: line 49: Error: bad source address
> /etc/snmp/snmpd.conf: line 50: Error: bad source address
> net-snmp: 3 error(s) in config file(s)
> Here line 48 means "com2sec -Cn modemhost1 remhost1
> public"
> And line 49 means "com2sec -Cn modemhost2 remhost1
> public"
> And line 50 means "com2sec -Cn modemhost3 remhost1
> public"

What happens if you try with

com2sec -Cn modemhost1 remhost1 public
com2sec -Cn modemhost2 remhost2 public
com2sec -Cn modemhost3 remhost3 public



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.


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.
Net-snmp-coders mailing list