Tom Marrs - 2010-09-27

I've reviewed the example trap code:

I've also reviewed the TrapExample.

But niether of these examples are quite what I'm looking for. I would like to have a manager explicitly register with an Agent so that I can receive traps from an Agent without the need to configure the remote host/device with the manager's IP Address. In short, I'm looking for a way to do publish/subscribe for traps. Is this possilbe? If so, which class in the API do I use to set this up? Are there any examples?

If I can't do it through the API, do I just need to invoke an snmpset command to configure the remote Agent?

Thanks for your help.