Re: two different mysql databases

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZManGQxqLsrc=zxv+FZ+LSLCf9RR8_K8_BH7BvHFR37w@mail.gmail.com>
On 26 January 2012 09:33, vasily <[email protected]> wrote:
> Is there possibility to save traps into different mysql databases in
> accordance with trap source address or community name?

Not easily, no.
  snmptrapd basically uses the OID of the incoming trap to decide
how to process it - not the source address or the community name.

It might be possible to hack the code of snmptrapd_sql.c to look
at the source address, but it's not something that would be handled
by default.

Dave

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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.