|
From: Dave S. <D.T...@cs...> - 2000-11-20 13:26:36
|
> The programmatic way to extend the agent trap-wise is not documented (or did
> I miss it?)
man snmp_trap_api
Though this man page only covers the "high-level" interfaces, which
use the UCD enterprise ID.
To send traps using a different enterprise ID, you should use the
lower-level routine
send_enterprise_trap_vars()
This works in much the same way as send_trap_vars, but allows
you to specify an OID as well.
I'd also draw your attention to the warning on this man page:
These routines are used to send the traps immediately they
are called. Invoking them at the appropriate time is left
to the MIB module programmer.
Dave
|