Re: Proxy question

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/04/07, Byron Schlemmer <[email protected]> wrote:
> I've got the following line in my "proxy" servers snmpd.conf file :
>
> proxy -Cn remoteserver1 -v 1 -c public remoteserver1 .1.3
>
> Should I be able to do :
>
> snmpwalk -v 1 -c public -n remoteserver1 proxyserver system

No.
The '-n' flag to specify a non-default context is only applicable to
SNMPv3.   The community-based versions (v1 & v2c) use the
community string for this purpose.

Try
    snmpwalk -v 1 -c remoteserver1 proxyserver system


Note that the '-c {name}' value in the snmpwalk request
should match the '-Cn {name}' value in the proxy directive.

This does not have to be the same as the community name
used for communicating between the proxy and remote
servers  ('-n {name}' in the proxy directive).
  But the remote server must be configured to accept requests
from the proxy server using this "internal" community name
("public" in the example above).


Dave

-------------------------------------------------------------------------
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-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.