Re: Query regarding Net-SNMP support with SQlite database..

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/6/11 kishore babu <[email protected]>:
> I want to know, if there is the support for SQLite database(3.0) interface
> for Net-SNMP agent(possibly C-api interface to query with Sqlite database).

There's nothing in the basic agent framework that will connect to any form
of database - SQLite, MySQL, PostGres, etc...    Mostly because there's
nothing in the operation of the basic agent that actually *needs* access
to a database.

The most likely place where database access might be useful is when
implementing a particular MIB module.   In which case, the database
interface would be part of that MIB module code.   You'd have to write
this yourself anyway, so you can use the appropriate C API routines
for the database you wish to use.

Providing those is the responsibility of the database vendors, not us.


The one place where a database interface *is* currently used is in the
trap receiver code - for logging incoming notifications to a database.
This is currently written for use with MySQL only, but it probably wouldn't
be difficult to extend it to other databases as well.

But the agent doesn't have equivalent requirements, so there's nothing
similar there.

Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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.