Re: how to register enterprise specific traps extended in net-snmp agent on event basis

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CAKoMtGbfuuM9QOyZERW-N4CdzJxmABL0PpMXzN+D1bXZ7POawg@mail.gmail.com>
> We have generated trap definition by extending our enterprise specific MIB
> module. However we did not find any function that could register this trap

Having defined the trap within the MIB file, you can now use the
'mib2c.notify.conf' template to generate a routine that will send
this trap.


>       Our requirement is the call the registered trap whenever the
> event occurs and not in a periodic manner as specified in snmp_alarm*
> functions. How can this be achieved?

Use mib2c.notify.conf to generate the routine, and then invoke
this from your CORBA object

Dave

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.