[op5-users] Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: Nagios start time delay with Merlin

Andreas Ericsson ae at op5.se
Thu Aug 27 13:09:01 CEST 2009


nicolas.raspail at bnpparibas.com wrote:
> op5-users-bounces at lists.op5.com wrote on 27/08/2009 10:44:54:
> 
>> nicolas.raspail at bnpparibas.com wrote:
>>> op5-users-bounces at lists.op5.com wrote on 26/08/2009 14:53:40:
>>>
>>>> Please test the beta5 of Merlin. The release-tag will be set where
>>>> the beta5 tag is now, unless our testing uncover some truly amazing
>>>> deficiency that we have so far been completely unable to spot (not
>>>> very likely). In all likelihood, 0.6.2 will therefore be the same
>>>> code as is in 0.6.2-beta5.
>>>>
>>>>> Right now, with NDO, my latencies seems to be stable with theses 
>>> values
>>>>> Service Check Execution Time:   0.04 / 30.02 / 0.372 sec
>>>>> Service Check Latency:  0.00 / 1299.86 / 46.321 sec
>>>>> Host Check Execution Time:      2.54 / 2.62 / 2.563 sec
>>>>> Host Check Latency:     0.00 / 3.45 / 1.179 sec
>>>>>
>>>> That's a fairly high service check latency though. Hopefully Merlin
>>>> will cope better than that.
>>> Hello,
>>>
>>> I have compiled and installed the new merlin 0.6.2-beta5 and it is
>>> running for 30 minutes now.
>>>
>>> Nagios start checking hosts/services immediately,
>> That's a good thing. How does merlin affect latency now?
> 
> After 4 hours, here is my results :
> 
> Service Check Execution Time:   0.05 / 30.02 / 0.420 sec
> Service Check Latency:  0.00 / 12.95 / 0.669 sec
> Host Check Execution Time:      2.54 / 2.92 / 2.569 sec
> Host Check Latency:     0.01 / 1.73 / 0.455 sec
> # Active Host / Service Checks: 1984 / 14669
> # Passive Host / Service Checks:        0 / 0
> 

So it seems Merlin is doing better than NDOUtils now then. That's good
to know, and these figures certainly seem within the reasonable limits.

>>> but I see a strange
>>> behaviour of Merlin in the log file. Every 30/40s, the php importer is
>>> run. In Ninja, I can see the number of services changing from 0 to
>>> 14669, and the number of hosts from 0 to 1984. Does it mean that there
>>> is no history of past events in Merlin ?
>>>
>> Correct. Ninja does not have yet have log-browsing capabilities, so
>> there is no state history in Ninja. Look to our reporting tool for
>> that.
>>
> 
> Ok. Do Merlin have some history functions like Ndo or not ? From what
> I have see, it seems that is not the case, because the various tables
> in the database don't grow like the one in NDO.
> 

It doesn't right now, but it will once we incorporate the reports-module
into merlin. Then you'll be able to use our reports-gui to extract
reports from within Ninja. The incorporation of the reports-module is
not a very honerous task. It's actually as simple as just inserting the
correct sql query in the right place in the merlin daemon.

Please note, however, that the reports-module doesn't log *everything*,
the way ndoutils can be configured to do. reports-module logs only the
information necessary to create accurate availability reports.

We might amend this in the future. Or then again, we might not. The
stupenduous growth of the ndo database is one of the reason we chose
not to use ndoutils for our new gui.

>>> It seems that merlind receive an update in the IPC socket and run the
>>> php importer soon ater. Is a normal behaviour in the beta5 version ?
>>>
>> Yes it is. It happens when an event packet is, for some reason, dropped.
>> The module then backs off 15 seconds to let the daemon catch its breath
>> and then sends an event which triggers a re-import of the status.
>> This is a quirky workaround to a problem I'm debugging right now, which
>> is that the merlin daemon for some reason takes too long to read even
>> a single event (it seems to be 0.3 seconds + 0.1 second for each event
>> in addition to the first one, which is totally unacceptable).
> 
> Ok, hope you will find the cause of this bug
> 

So do I ;-)

> I wish to thank you for your help in testing/deploying Merlin. Right now,
> I have a Nagios setup that performs well for us and that can share its
> data with other tools via Merlin.
> 

You're welcome. Happy to see the stuff we write getting used, and feedback
like yours is invaluable for us to be able to ascertain how people want to
use the stuff and what problems they encounter. So thank you, too :-)

-- 
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.


More information about the op5-users mailing list