[AGENT++] error on manage when receiving a trap notfication witha finite number of variable bindings

Jochen Katz katz at agentpp.com
Thu Aug 30 19:52:14 CEST 2007


Hi Karthik,

> Thanks for your quick response. I downloaded SNMP v 3.2 from the
> website and built it. I built the snmp library with the _DEBUG option
> and added the lines that you mentioned to the "receive_trap.cpp"
> program, but I don't see any packet dump information. Please let me
> know what I can do to solve this

did you add a call to debug_set_level()? It seems that all "old-style"
debugprintf() messages are disabled. This can be caused by either a call
to debug_set_level(), a not complete clean rebuild after setting _DEBUG,
or if at runtime receive_trap loads a dll/.so with _DEBUG undefined.

Regards,
  Jochen







More information about the AGENTPP mailing list