Generating a trap with table infomation

2010-08-13 Thread Norasyikin MD Ali
Hello, I'm trying to generate a trap containing all the information from my activeAlarmTable which has 8 columns. In my agent, I created a function : tr_status tr_mib_agent_generate_alarm_event_trap(int type, const char *oidstr1, uint32_t id,

Re: Generating a trap with table infomation

2010-08-13 Thread Wes Hardaker
On Fri, 13 Aug 2010 14:28:32 +0200, Norasyikin MD Ali norasyikin.md_...@3roam.com said: NMA So in my code, i'll have to match each varbind with an OID. In short, NMA get an OID for each column which is proving quite messy (meaning I don't NMA know how to do it). Is there a function to create

Re: Generating a trap with table infomation

2010-08-13 Thread Dave Shield
On 13 August 2010 13:28, Norasyikin MD Ali norasyikin.md_...@3roam.com wrote: I'm trying to generate a trap containing all the information from my activeAlarmTable which has 8 columns. In my agent, I created a function : tr_status tr_mib_agent_generate_alarm_event_trap(int type,