nagios future?

Andreas Ericsson ae at op5.se
Tue Jun 9 19:03:55 CEST 2009


Michael Friedrich wrote:
> 
> 
> Andreas Ericsson wrote the following on 09.06.2009 16:33:
>>
>> It has? I'll have to take a look at that, I think. The hard part will
>> be to separate the cruft from the code, so that only the real changes
>> appear in a diff. Some simple sed magic will probably do the trick
>> though.
> Would be bad if it hasn't - as long as both projects are mainly 
> compatible they can profit from each other.

Right. I'll have to revisit it and see what's new.

> GIT is really nice for that 

I know. I helped write it after all :p

> but you should ask Hendrik instead how to deal with that :-)
> 

I think I'll find a way. Thanks for the tip though.

>> I haven't actually thought about it. A quick glance reveals that the
>> serviceescalation_contactgroup junction table is the one with the
>> longest name, weighing in at 31 characters. That can be fixed quite
>> easily though, since junction table names are determined by a function
>> which can easily special-case this particular one.
> Mh thanks for the tip I need to think about that in more deep.

Well, it'll be ambiguous even if one char is stripped from it, so just
cutting the name at 30 chars might be worthwhile if we're on oracle.

>>
>> Since libdbi provides a database-agnostic api (it would be quite useless
>> if it didn't), a simple thing such as loading the correct driver should
>> suffice to make it work with Merlin as well. Which driver to use can be
>> specified in the Merlin configuration file. However, there's currently
>> no oracle driver for Kohana that I'm aware of, and that means Ninja
>> won't be able to benefit from an Oracle database even if Merlin can
>> write to it.
> The thing which I am missing in libdbi-implementation is parameter 
> binding which really is a performance tweak with lots of queries with 
> different values. Another headache but maybe I'll hack that and send a 
> patch to the developers. Mostly it is important for Oracle meanwhile.
> 
> About Kohana - had a short look into the Database drivers. Oracle 
> support won't be that big problem to implement but that won't be me. 
> Hopefully it will be done because then Ninja and Merlin combined to 
> Nagios would be an option alternatively to Icinga with optimized IDO for 
> Oracle (which is my main task right now).
> 

Well, unless I'm mistaken IDO will have the same database layout as NDO,
so it will still suck for performance, and writing good queries for it
will still be a major headache. When the storage model of the algorithm
algorithm is broken, tweaking it doesn't really help. Only a rewrite
can save you then.

It would be neat to see Merlin adapted to Oracle though, so if you're
interested in working on that we'd sure help as much as we can.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
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.

------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list