On Wed, 2005-07-20 at 09:52 +0200, Le Gall Jean-Patrick (Skysoft ATM) wrote: > I've create new OID in a private MIB. Now I wanted to link this OID > with hardware component. How can I do this.
You need to write code to extend the SNMP agent, to implement your new OID. The command 'mib2c' can help you by generating a template framework covering the syntax of your MIB, but it'll be up to you to provide the code that actually interact with your hardware. See the FAQ for more details. > I also wanted to auto generate enterprise specific traps when some > hardware value are excedeed, what's the way of configure traps? Have a look at the DisMan Event MIB, as documented in the snmpd.conf(5) man page. You may need to recompile the agent to add this feature, as it's not part of the default configuration. But you'll need to do that to add your private MIB anyway. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
