On Wed, 2005-06-08 at 19:28, [EMAIL PROTECTED] wrote:
> Thanks but I need to do this dynamically for testing (and I want to make
> sure end users never see these entries with snmpwalk or whatever). 
> Here's an idea:
> 
> - I add speed setting entries to my enterprise MIB

Just a minor point.
I'd suggest defining such "testing entries" in a separate
MIB module, located somewhere within your enterprises subtree.

If this is defined as a completely separate file, there's less
risk of accidentally shipping the wrong MIB file out to your
customers, and revealing your internal test structures.


And I'd second Wes' suggestion of removing the code completely from
the agent you finally ship.  Even if it's only via a #ifdef directive.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to