Re: [Nagios-devel] Ndo connection handle

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

Re: [Nagios-devel] Ndo connection handle

Post by Guest »

On 01/18/2011 06:35 AM, Shadhin Rahman wrote:
> All,
> NdoUtils is particularly written for mysql and postgres. I am thinking
> about creating a few more connection handles such as oracle, DB2 and
> possibly sybase. I need a few opinions on this subject.
>
> 1) IDoUtils already has oracle support, porting the code to Ndo, is there
> any license restrictions associated with this?

IDOUtils is derived from NDOUtils. Due to the viral clause of GPL, both must
share the same license (GPL). As such, there can be no license issues with
such an endeavour, unless Icinga broke some license clauses when they added
Oracle support.


> 2) NDoUtils has many embaded sql statements, what is your opinion
> restructuring the code and making it modular. I am suggesting decouple the
> queries from application logic. Create sql interface which queries get
> passed into?

Go wild.

> 3) If I (am bold enough) attempt to restructure the code, which version is
> a better option, 1.28 or 1.29?
>

The latest from CVS would be the best idea by far. Isn't 1.29 rather ancient?

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





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