Hi all,

I have been searching through the Net-SNMP source to see if there is a
framework to do with with Net-SNMP, tried to set pass_persist up to do
this, does not seem it will let me overwrite responses to built in
OIDs.

I really want a regression testing framework for our SNMP-based
programs / scripts, we use Net-SNMP extensively so I am hoping to use
it as a test harness as well :).

However, I really would like to be able to mock out any OID with this
agent and just have it act as a real harness, providing only data our
test cases provide.

I see an agent listener using TwistedSNMP that does this, but since we
use Net-SNMP almost exclusively, would be the best to have it be our
container.

Anyone know of a way to do this with Net-SNMP that does this?

Is the best solution to recompile a test agent with no mibs except for
pass_persist so that pass_persist can then respond to any OID at or
below 1.3.6.1?  Or would that plain fail too?  I am not by any means
an expert at the C parts of Net-SNMP though I have poked around in the
C files as needed and I submitted one small patch to the pass_persist
table handler that resolved a crash.

Any advice / help appreciated, am doing my best to do leg work on
this, but so far not coming up with any way to do this with Net-SNMP
as the SNMP mock server container ..

Thank you,
Max

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to