A few questions about Traps distribution.
"Makavy, Erez (Erez)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <AAB4B3D3CF0F454F98272CBE187FDE2F09B7BDB9@is0004avexu1.global.avaya.com> |
Hi,
1) How can I dynamically configure trap sinks? (while the agent is
running)
- reparsing snmpd.conf file?
- access the configured list with internal API?
- is there a MIB for this?)
2) What is a trapsess token in snmpd.conf?
(the trapsess mentioned in this diagram)
___ trapsink
/
send_easy_trap ___ [ Trap ] ____ trap2sink
___ [ Generator ]
send_v2trap / [ ] ----- informsink
____
trapsess
3) How could I implement a trap-distributor? (a seperate process to send
all traps in the system)
(Assuming there are several subagents, which send send_trap requests
to my process via message queue for example.)
3a) If I use a sub-agent "as is", as my trap-distributor,when
sending traps from the subagent,
do they go through the master agent?
3b) Does a subagent have to support the notifications it sends?
(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))
Sincerely,
Erez Makavy.