On Tue, 2005-09-06 at 12:06 +0530, Ravi, Rajagopal Shanmugam (Rajagopal
Shanmugam)** CTR ** wrote:
>  But is it possible to proxy the incoming request to different hosts
> based on a defined set of OID values?

Yes.
That's how the proxy mechanism has always worked.
The context-based selection is a more recent addition.

Please see the 'snmpd.conf(5)' man page, under PROXY SUPPORT



> Here the request should be proxied to Host1 if the incoming request
> has an OID from the varbind list between .1.3.6.1.2.1.1.1
> and .1.3.6.1.2.1.1.2
> The request should be proxied to Host2 if the incoming request has an
> OID from the varbind list between .1.3.6.1.2.1.1.3
> and .1.3.6.1.2.1.1.1.5

Note that the proxy configuration works on the idea of subtrees,
rather than OID ranges.  So the configuration for Host 2 would need
*two* proxy lines - one to forward requests for .1.3.6.1.2.1.1.3.*
and another to forward requests for .1.3.6.1.2.1.1.4.*

Dave


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to