On Wed, 2005-12-21 at 15:36 +0200, Makavy, Erez (Erez) wrote:
> 1) How can I dynamically configure trap sinks?

>     - is there a MIB for this?)

Yes.
Or rather two MIBs:
    SNMP-TARGET-MIB  specifies *where* to send notifications
       and the version & settings to use
    SNMP-NOTIFICATION-MIB specifies what type of trap to send
       (and links in to the Target MIB for the rest).

Try walking the snmpTargetAddrTable, snmpTargetParamsTable
and snmpNotifyTable to see how all this fits together.



> 2) What is a trapsess token in snmpd.conf?

It's a more general version of the other three.
Think of it as a snmpd.conf equivalent of the
"snmptrap" command.  It takes the same set of options.



> 3) How could I implement a trap-distributor? 
>     3a) If I use a sub-agent "as is" .... when sending
>         traps from the subagent,
>       do they go through the master agent?

Yes.
The master agent sounds like the "trap-distributor" you want.

> 
>     3b) Does a subagent have to support the notifications it sends?  

No

>     Can I use a sub-agent, that does not implement any objects,
>     to send traps? (just by using send_v2trap with a variable
>     binding list)

Yes.

You'll have to supply the appropriate values, of course.
But your subagent doesn't have to implement GET support
for the objects concerned.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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