[AGENT++] Changing community for generated traps
Jochen Katz
katz at agentpp.com
Tue Nov 16 19:32:37 CET 2004
Hi,
> virtual boolean NotificationOriginator::add_v1_trap_destination ( const UdpAddress & dest ) [virtual]
>
> Make all necessary entries in snmpTargetAddressTable, snmpTargetParamsTable, and snmpNotifyTable for the given v1 trap destination.
>
> All rows added will be named defaultV1Trap. The community used for generated traps will be public.
> Is there anyway to generate a trap with a community name other than Public?
sure, just take these functions as an example and do the same with the
input values you like.
Regards,
Jochen
More information about the AGENTPP
mailing list