[Nagios-devel] [RFC,RFA] ndoutils for Oracle integration into CVS

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] [RFC,RFA] ndoutils for Oracle integration into CVS

Post by Guest »

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/






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked