> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Joan Landry
> Sent: Tuesday, September 09, 2008 9:18 AM

> I would like to know if there is a way to allow a sub agent to control
> the object snmpEnableAuthenTraps while allowing the master agent to
> respond to counters in the snmp_mib such as snmpInASNParseErrs.

        Even if there is a way, this is a really bad idea.  I think you should 
re-examine what you are trying to do, and extract your control logic to an 
external application, for which the subagent can provide data.  This is typical 
SNMP design, and there is good reason for it.  Also be sure to document clearly 
any changes to the master agent configuration your application may make, as 
such changes have implications on all applications working with that master.  
Therefore, it is probably better to have your application configure its 
notification listener to process or ignore authentication traps, rather than 
turning them on or off on the master agent(s).

> If I take over the snmp_mib and use
> snmp_get_statistic(STAT_SNMPINASNPARSEERRS)I get invalid data from
> net-snmp. If I do not take over snmp_mib I can not register for
> snmpEnableAuthenTraps.

        Do Not Do This.  Only bad things can happen...


        HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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