Hi all

How can I define the 'default' context in a proxy-rule?

I do the following:

I have an agent A with agentx enabled.

An instance of snmptrapd connects to this agent.

Traps received by snmptrapd are logged perfectly into the nlmLogTable of the
Agent A under the context 'snmptrapd', such that this command:


snmptable -v 3 -u boris -n snmptrapd
127.0.0.1:1161NOTIFICATION-LOG-MIB::nlmLogTable

works!


I would like to be able to fetch this table without giving the context -
e.g.


snmptable -v 3 -u boris 127.0.0.1:1161 NOTIFICATION-LOG-MIB::nlmLogTable

which now gives 'no entries' correctly, as the table of the Agent A has now
entries.



Can I do this with the proxy ? Such that requests with default context are
'proxied' to the same host but with another context?
How to define the 'default' context for received requests, e.g. something
like:

proxy -Cn 'defaultcontext' -v3 -u boris 127.0.0.1:1161 -n snmptrapd
NOTIFICATION-LOG-MIB::nlmLogTable


Does anybody know how to do this?


Thanks a lot

Boris
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
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

Reply via email to