[Nagios-devel] [RFC,RFA] ndoutils for Oracle integration into CVS
Posted: Mon Apr 06, 2009 6:47 am
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]
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]