[Icinga-devel] Icinga vs Nagios code structure

Taylor Dondich tdondich at gmail.com
Thu May 7 19:30:54 CEST 2009


On Thu, May 7, 2009 at 10:26 AM, Roy Sigurd Karlsbakk <roy at karlsbakk.net> wrote:
>>> Hi all
>>>
>>> Back in the Nagios 1.x days, I remember asking if it was hard/
>>> possible
>>> to separate the nagios core with checks and so on from the web GUI,
>>> since hardcoded HTML in C is rather ugly. I think this was just
>>> before
>>> 2.0 was released and someone said the separation of the two was one
>>> of
>>> the things that would make 3.x better. Now, that doesn't seem to have
>>> happened. Nagios works well as it is, but it's a PITA to change the
>>> web frontend.
>>>
>>> Will Icinga try to change this? It'd be nice to have this in a
>>> client/
>>> server model so that the frontend could be written in some higher-
>>> level-language like PHP while the backend remains as it is. This
>>> could
>>> also allow for separation of the two if wanted/needed, and perhaps
>>> with a distributed backend in case of large systems.
>>>
>
>>
>> The Nagios 2.x codebase IS seperated.  There is no direct tie from the
>> HTML web interface to Nagios core.  You don't need the web interface
>> to run the core.  You can write a replacement UI right now in PHP and
>> be just fine (I know, I wrote one for Groundwork Open Source).
>
> Oh, ok. I didn't know that.
>
>> I think Icinga will look towards leveraging ndoutils to make all the
>> data readily available in database form.  In that case, you can use
>> any high-level language (isn't C high level?), with database support
>> to grab data.  I know, I'm writing one.  :)
>
> C is high-leve, yes, but I wrote "higher-level", as in a little over
> C. C is fine for core stuff, but IMHO it's not well suited for this
> work.
>
> By the way, how does Nagios communicate between the web front and the
> core? Unix sockets?

Through fugly fugly flat files.  :)  Use ndoutils to populate a database.

>
> PS: Top posting is ugly
> PPS: Perhaps we should have the mailing list software (majordomo?) to
> set Reply-To: icinga-devel at lists.sourceforge.net?
>
> roy
> --
> Roy Sigurd Karlsbakk
> (+47) 97542685 / 98013356
> roy at karlsbakk.net
> --
> I all pedagogikk er det essensielt at pensum presenteres
> intelligibelt. Det er et elementært imperativ for alle pedagoger å
> unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de
> fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Icinga-devel mailing list
> Icinga-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-devel
>



-- 
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html




More information about the icinga-devel mailing list