On 18 January 2011 03:06, Abraham Varricatt
<abraham.varricatt+s...@googlemail.com> wrote:
>                                     Am I correct to assume that by
> including "debugTokens" in the snmpd.conf file, we can achieve the same
> effect?

Very nearly.

Remember that the -D option is common to *all* Net-SNMP commands - not
just the agent.   That means that the equivalent debugTokens directive is
interpreted by the main SNMP library, rather than the agent itself.

  Hence it would most naturally go into the file 'snmp.conf'  rather than
'snmpd.conf' (and be picked up by all Net-SNMP applications).
That's why the "debugTokens" directive is documented in the
'snmp.conf(5)' man page.

But remember that if you've got 'snmp.conf' directives that should only be
interpreted by a particular application (such as snmpd), then you can put
them into the snmpd.conf (or other application-specific) config file
using the syntax

    <app-specific directives>

    [snmp]  debugTokens  this,that,theother

    <more app-specific directives>


See 'snmp_config(5)' for details

Dave

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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