[AGENT++] Adding trap destination for Inform type
Pham, My V. (Mission Systems)
My.Pham at ngc.com
Tue Dec 11 00:54:00 CET 2007
Hi,
I have a question about trap destination. I looked into the source code
and the method add_v3_trap_destination() hardcodes the type of the
message to type 'Trap' in
snmpNotifyEntry::instance->add_entry(name, // row index
tag, // tag
1); // type (trap)
So to add a v3 destination that will receive "Inform" type I guess I
will have to change the type to 2 in the source code, or to write a
similar method that takes a variable input for type, or to bypass
add_v3_trap_destination() and calls add_entry() directly with type = 2?
Thank you,
My
More information about the AGENTPP
mailing list