Re: [Nagios-devel] New Nagios implementation proposal

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] New Nagios implementation proposal

Post by Guest »

--00504502c7ad31f958047a4d20cf
Content-Type: multipart/alternative; boundary=00504502c7ad31f953047a4d20ce

--00504502c7ad31f953047a4d20ce
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

No other feed back ?

Maybe we can start a survey :

What do you think about think about changing the current implementation by =
a
new one based on Shinken in the dev branch for Nagios 4?
1 : Stupid, useless and dangerous idea, we can still go on with the current
implementation
2 : Can be look at, but have very slow chance of success
3 : Great idea!! Why isn't it already done?
4 : Obi Wan Kenobi (you just do not care about this or you just hate
surveys)

Thanks,


Gab=E8s Jean


On Sun, Dec 6, 2009 at 1:26 PM, nap wrote:

> Hi,
>
> My goal is clear : Keep the Nagios/Icinga compatibility with a
> faster/modular implementation (and still fully open source of course).
>
> Instead of offlist we can maybe go on in the icinga devel-list ?
>
>
> Gab=E8s Jean
>
>
>
> On Sat, Dec 5, 2009 at 3:14 AM, Michael Friedrich [email protected]> wrote:
>
>> Hi,
>>
>> very interesting approach :-)
>>
>> Maybe we can talk offlist and in private about your goals and maybe
>> joining forces with Icinga. How about that? :)
>>
>> Kind regards,
>> Michael
>>
>> nap wrote:
>>
>> Hi list,
>>
>> I would like to have your feed back about a (unfinished)
>> reimplementation of Nagios named "Shinken" I wrote in Python that is
>> faster and more modular than the current Nagios implementation in C
>> (yes faster, you read correctly. I was the first surprised by that).
>>
>> =3D=3D The Shinken's history =3D=3D
>> Few months, I start to work on a proof of concept for Nagios focus on
>> distributed environments and performances. The main goal was to look
>> for a distributed and high availability architecture. I was also
>> thinking that Nagios' performances were quite good, but we can have
>> more.
>>
>> For quick test and development, I used Python. I thought a process
>> pool can make Nagios be quicker instead of forking a new process to
>> kill it few seconds after for each checks. I also bypass the reaping
>> way of Nagios : reading flat file is just too slow. Instead, the
>> results are a structure that is send directly to the scheduler. No
>> files, more performances. To be equal to Nagios, I add the same
>> monitoring logic in the scheduler : HARD/SOFT states, dependencies
>> (parents, servicedep, hostdep, etc) and database export (Merlin).
>> Shinken used the standard Nagios conf file.
>>
>> And the perf are quite good : with a Nagios3, a small check (do a
>> echo + exit) and a medium range server I run at 10000 checks in
>> 5minutes (latency near 1s), 30K with full tweaks. With my tool, I run
>> 150K !!
>>
>>
>> =3D=3D The global architecture =3D=3D
>> For the Architecture, I think we must use the Unix Way of doing things
>> : one tool by usage. For now, Nagios do nearly every things : reads
>> conf, schedule, launch checks and raise notifications. I try an
>> architecture where the administrator can have any host/services he
>> wants and the daemons are just resources to manage this. The
>> architecture I propose is the following :
>> *Arbiter : a daemon that read the configuration, cut it automatically
>> (keep relations like parents in the same conf) in N confs, where N is
>> the number of schedulers we have. It dispatchs the configuration and
>> also read the orders in nagios.cmd and dispatch orders to schedulers.
>> *Schedulers : do the scheduling by looking at states of
>> hosts/services. It just do checks/notifications/event handlers queues
>> for others daemons. Same things for event broker informations : it's
>> just a queue.
>> *pollers : use a processes Pool, get checks to launch in schedulers
>> and returns results to schedulers.
>> *reactionners : same than pollers, but for notifications and event handl=
ers.
>> *brokers : get event broker informations from schedulers and "do
>> things" why them (like create the service-perfdata file, or fill
>> databases).
>>
>> The poll

...[email truncated]...


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