service latency troubles

Antoine Musso antoine.musso at laposte.fr
Thu Oct 16 17:04:16 CEST 2008


Andreas Ericsson a écrit :
<snip>
>>    1/ is there any recommended setting for checking the liveness of a 
>> host ? Since this check is synchronous, we want Nagios to achieve this 
>> as fast as possible.
> 
> Upgrade to Nagios 3. It sports parallell hostchecks.

Hello,

We do use Nagios 3 but we had 'use_aggressive_host_checking=1' thus 
triggering a synchronous check and lock the main Nagios process.*
I have changed our check_host_alive command to only send 1 ICMP packet 
and wait for 3 seconds maximum.

This issue is solved ;)

<snip>
>> If not, I am going to check why it takes so long to send a packet to the 
>> remote ndo2db instance.
> 
> That's a good idea. Please let us know what you find.

It is probably waiting for a tcp ack on each write() calls. With a round

The average round-trip with the server is 17ms, it is most certainly the 
issue. From my previous analyse, you can see each call is 20ms average :

    SERVICE_STATUS_DATA (#20)  8321 calls, avg: 0.02s (total 149.48s)

We are now checking latency with a connection to 127.0.0.1 but raise a 
segfault. I am going to write on nagios-dev list ;)


Thanks for your answer Andreas. It helped us a lot.


cheers,

-- 
Antoine MUSSO
DISIT/PROD/QFO/OUT
mailto:antoine.musso at laposte.fr
tél. 02 40 12 73 62
-------------- next part --------------
Post-scriptum La Poste

Ce message est confidentiel. Sous réserve de tout accord conclu par
écrit entre vous et La Poste, son contenu ne représente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.


-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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