2009/2/24  <[email protected]>:
> how to achieve this not register, but getting the table OIDs to able to
> send the traps?

The "table OIDs" don't actually *do* anything.
An OID is simply a way of referring to a piece of information.

There are two aspects to sending a trap.
One is deciding what information to send
  (i.e. the OID of the trap itself, and what other information to include).

You would typically bundle all of this up into a single routine.
There's a mib2c config template (mib2c.notify.conf) which might
help you craft this routine.

The second aspect is deciding *when* to send the trap
(i.e. when to invoke this routine).
   It's up to your application to detect the appropriate conditions
or event that should trigger the trap, and invoke the routine
accordingly.   That is very specific to your particular needs.



> Do we require to change is smidump?

smidump is nothing to do with this project.
But no - you shouldn't need to change the MIB file,
as long as there is a suitable definition of the trap
(notification) that you want to send.

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to