Re: problem sending traps from c code

2007-03-13 Thread Dave Shield
On 09/03/07, maciej_golas <[EMAIL PROTECTED]> wrote: > I want to write a subagent that will sent a trap as a response to SET > command. There is an example of exactly this behaviour in the file 'agent/mibgroup/examples/example.c' See the blocks entitled "EXAMPLETRIGGERTRAP" and "EXAMPLETRIGGE

problem sending traps from c code

2007-03-09 Thread maciej_golas
I'm just a beginer with net-snmp. I want to write a subagent that will sent a trap as a response to SET command. I follow the tutorial from www.net-snmp.org. My subagent works: I can SET/GET data, but I don't know how to catch SETs so I could sent a trap. Could you help me with some example that sh