From: Wes H. <har...@us...> - 2011-04-29 16:02:02
|
>>>>> On Fri, 29 Apr 2011 14:20:01 +0800, "liuying" <li...@sg...> said: l> In the main.c,Iuse: l> write_exampletrap2(COMMIT,NULL,0,0,NULL,NULL,0) You need to add the minimum set of varbinds that describe the trap. See the agent example in agent/mibgroup/examples/notification.c for how to add the varbinds. It uses the agent's send_v2trap to send the trap, which will be different, but the rest will be similar. -- Wes Hardaker Cobham Analytic Solutions |