Re: Snmp proxy: how to react to 'default' context.
Boris Zweimueller <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the idea! But, when I register snmptrapd under the default context as suggested, the agent gives the following errors: duplicate registration (nlmConfigGlobalEntryLimit, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) duplicate registration (nlmConfigGlobalAgeOut, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) duplicate registration (nlmStatsGlobalNotificationsLogged, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) duplicate registration (nlmStatsGlobalNotificationsBumped, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) duplicate registration (nlmLogTable, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) duplicate registration (nlmLogVariableTable, AgentX subagent 8, session 0x7d5220, subsession 0x777bb0) and snmptrapd can not register its notification log tables on the master agent. Can I somehow 'disable' the notification log tables on the agent x master? Thanks Boris 2011/6/24 Wes Hardaker <[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 > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ 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