[RFC,RFA] ndoutils for Oracle integration into CVS

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Apr 6 09:47:22 CEST 2009


David Schmidt wrote support for using an Oracle DB as backend for ndo2db.

I'd like to ask for assistance to include this Oracle support into the CVS tree.

The code is up to current CVS, a huge part of a direct patch would come from
the fact that we changed the directory layout in db/ to cater for
per-database directories. We did:
$ mv db/queries db/x
$ mkdir db/queries
$ mv db/x db/queries/mysql
and then populated db/queries/oracle with the respective queries.

The rest of the patch can be separated into these hunks:
- configury & README: Check for Oracle libs, add section for Oracle to README
- liboci/*: Simple OCI (Oracle C Interface or the like) helpers like ora_oci_init
  for initializing the OCI env, ora_oci_query(), ora_oci_insert() and the like.
- src/*: Handle USE_ORACLE path

Thoughts?
How can we proceed?

cheers,
Bernhard

PS:
The code can be obtained from:
https://www.nagiosforge.org/gf/project/ndoutils_oracle/


------------------------------------------------------------------------------




More information about the Developers mailing list