Re: Snmp proxy: how to react to 'default' context.

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>>>>> On Wed, 22 Jun 2011 17:01:02 +0200, Boris Zweimueller <[email protected]> said:

BZ> Can I do this with the proxy ?

I think you could, yes, but it'd be more efficient to get snmptrapd to
register under a different context.  Really, we should make this
configurable instead of hard coding it, but right now if you change the
"snmptrapd" tokens in apps/snmptrapd.c to "" it'll register under the
default context instead.  Specifically, change the line that looks like
this:

            netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
                              NETSNMP_DS_NOTIF_LOG_CTX,
                              "snmptrapd");

from "snmptrapd" to "".
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.