This is a discussion on Re: [snmpd] How to generate trap messages defined in my MIB within the SNMP Users forums, part of the Networking and Network Related category; On 10/12/2007, Tako Chang <u90010@gmail.com> wrote: > I write down my MIB, and define ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 10/12/2007, Tako Chang <u90010@gmail.com> wrote:
> I write down my MIB, and define some traps > But how do I handle these by snmpd? > Use the M2c application generate code for them? > or Write another script in my system to call snmptrap API? Either approach would be workable. A lot depends on how comfortable you feel in writing code for the SNMP agent. That's probably the cleaner approach in general, but a shell script to invoke "snmptrap" would be a simple quick-n-dirty approach for getting things working quickly. The other thing to consider is when these traps should be sent. What conditions/events/etc should trigger the generation of your traps? Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |