This is a discussion on Re: "pass persist" and Traps within the SNMP Users forums, part of the Networking and Network Related category; [ please set your e-mail client to word-wrap around column 72 ] On Thu, 12 May 2005, Frithiof Jensen (AH/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[ please set your e-mail client to word-wrap around column 72 ]
On Thu, 12 May 2005, Frithiof Jensen (AH/LMD) wrote: > Hi List, Hope this is not an FAQ: Nope! :-) > I need to write a test stub for an ospfv3mib implementation, that will > run as an Agent-X sub-agent i.e. the OSPFv3 process will have a MIB > implentation and register itself with snmpd. I'm not quite clear what you are trying to achieve. But whatever it is, I would recommend to use the same tools for the stub as you would for the final implementation. If I had to write an AgentX subagent, and needed a stub to emulate some functionality, the stub would also be implemented as an AgentX subagent. > The "pass persist" directive seems to do most of what is needed but > there is one issue: Traps/Informs. > > The ospfV3mib implementation needs to send Traps and I need to test > that they are handled correctly. > > So, My Question is: > > Assuming net-snmp was built with Perl-support, can I use the Perl SNMP > interface to generate Traps, that will be injected into the Agent and > handled/forwarded "the proper way"? > > -or- > > Must I register as an Agent-X subagent? > > i.e. do most of the real work before any test? Sorry, can't answer that question. Cheers, -- Bert -- Bert Driehuis -- driehuis@playbeing.org -- +31-20-3116119 If the only tool you've got is an axe, every problem looks like fun! ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ 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 |