<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
By the way, I forgot to say that sometimes nagios don't give any
timeout warning, performing the tests the right and expected way. So
this is hard to trace, but once I have more than 100 hosts I monitor
with this configuration, the problem occurs at least once a day (we
don't have many down hosts per day).<br>
With lab tests, nagios usually runs as expected, and I don't understand
why (murphy's law?). :)<br>
<br>
Regards,<br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html; ">
<title>Emanuel Massano</title>
<p class="MsoNormal"><strong><span
 style="font-size: 10pt; font-family: "Lucida Sans"; color: maroon;"
 lang="PT">Emanuel Massano</span></strong></p>
<p><span style="font-size: 10pt; font-family: Garamond; color: maroon;"
 lang="PT">
FCCN<br>
Av. do Brasil, n.º 101<br>
1700-066 Lisboa<br>
Tel: +351 21 844 0100<br>
Fax: +351 21 847 2167<br>
E-Mail: <a href="mailto:emanuel.massano@fccn.pt">emanuel.massano@fccn.pt<br>
</a><a href="http://www.fccn.pt/" title="http://www.fccn.pt">www.fccn.pt</a></span></p>
<p></p>
<p><strong><span
 style="font-size: 10pt; font-family: Garamond; color: gray;" lang="PT">Aviso
de Confidencialidade</span></strong></p>
<p></p>
<p><span style="font-size: 10pt; font-family: Garamond; color: gray;"
 lang="PT">Esta mensagem é exclusivamente destinada ao seu
destinatário, podendo conter informação CONFIDENCIAL, cuja divulgação
está expressamente vedada nos termos da lei. Caso tenha recepcionado
indevidamente esta mensagem, solicitamos-lhe que nos comunique esse
mesmo facto por esta via ou para o telefone +351 218440100 devendo
apagar o seu conteúdo de imediato.<br>
<br>
This message is intended exclusively for its addressee. It may contain
CONFIDENTIAL information protected by law. If this message has been
received by error, please notify us via e-mail or by telephone +351
218440100 and delete it immediately</span></p>
</div>
<br>
<br>
Emanuel Massano wrote:
<blockquote cite="mid:4857AF1B.50507@fccn.pt" type="cite">
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
  <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Sascha.Runschke@gfkl.com">Sascha.Runschke@gfkl.com</a>
wrote:
  <blockquote
 cite="mid:OFDCD290E6.54873277-ONC125746B.00401D64-C125746B.00407332@gfkl.com"
 type="cite"><br>
    <tt><font size="2"><a moz-do-not-send="true"
 class="moz-txt-link-abbreviated"
 href="mailto:nagios-devel-bounces@lists.sourceforge.net">nagios-devel-bounces@lists.sourceforge.net</a>
schrieb
am 17.06.2008 12:47:48:<br>
    <br>
> So my question is, is this a bug, or a configuration problem?<br>
    </font></tt> <br>
    <tt><font size="2">That's kinda hard to judge if you do not provide
your
configuration.<br>
    </font></tt></blockquote>
Right, I send the main configuration file as attachment.<br>
  <br>
To show only the configuration that's important for this case, here are
the configurations for the type of hosts that I monitor this way<br>
  <br>
First, the host<br>
define host {<br>
        name WAN-Instituicao<br>
        check_command check_instituicao<br>
        max_check_attempts 10<br>
        check_interval 0<br>
        check_period 24x7<br>
        obsess_over_host 0<br>
        active_checks_enabled 1<br>
        notification_interval 10<br>
        notification_period 24x7<br>
        notifications_enabled 1<br>
        register 0<br>
        notification_options d,r<br>
        hostgroups WAN<br>
        contact_groups admins,prevencao<br>
}<br>
  <br>
define host {<br>
        use WAN-Instituicao<br>
        host_name <i>test</i><br>
        alias<i> test.fccn.pt</i><br>
        address <i>x.x.x.x (not shown)</i><br>
        parents gw-fw01-Outside<br>
        check_command check_instituicao<br>
        hostgroups WAN<br>
        contact_groups admins,prevencao<br>
}<br>
  <br>
Then, the only service I have for this kind of hosts:<br>
define service {<br>
        name ping-wan-instituicoes<br>
        use _template-base<br>
        check_command check_ping_ip4!1000.0,100%!2000.0,100%!5<br>
        max_check_attempts 8<br>
        normal_check_interval 5<br>
        retry_check_interval 1<br>
        active_checks_enabled 1<br>
        check_period 24x7<br>
        notification_interval 10<br>
        notification_period 24x7<br>
        notifications_enabled 1<br>
        register 0<br>
        notification_options c,r<br>
        servicegroups rcts<br>
        contact_groups admins,prevencao<br>
}<br>
  <br>
define service {<br>
        use ping-wan-instituicoes<br>
        service_description ping<br>
        host_name test<br>
        servicegroups rcts<br>
        contact_groups admins,prevencao<br>
}<br>
  <br>
And finally, the commands:<br>
define command{<br>
command_name    check_instituicao<br>
command_line    $USER1$/check_icmp -H $HOSTADDRESS$ -w 2s,80% -c
9s,100% -n 20 -i 1.5s -t 40s -l 0<br>
}<br>
  <br>
define command{<br>
command_name    check_ping_ip4<br>
command_line    $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
-n $ARG3$<br>
}<br>
  <br>
If you would like to see other configuration files, I can send them.<br>
  <br>
Thanks<br>
Best regards,<br>
Emanuel Massano<br>
  <br>
  <blockquote
 cite="mid:OFDCD290E6.54873277-ONC125746B.00401D64-C125746B.00407332@gfkl.com"
 type="cite"> <br>
    <tt><font size="2">Regards</font></tt> <br>
    <tt><font size="2">        Sascha</font></tt> <br>
    <br>
    <font face="sans-serif" size="2">-- <br>
Sascha Runschke<br>
Netzwerk-  und  Systemmanagement<br>
Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201)
102-1102105</font> <br>
    <br>
    <br>
    <br>
    <span
 style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">GFKL
Financial Services AG</span><br>
    <span
 style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Vorstand:
Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom
Haverkamp</span><br>
    <span
 style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Vorsitzender
des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
    <span
 style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Sitz:
Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>
    <pre wrap=""><hr size="4" width="90%">
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a></pre>
    <pre wrap=""><hr size="4" width="90%">
_______________________________________________
Nagios-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a>
  </pre>
  </blockquote>
  <pre wrap=""><pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a></pre><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a>
</pre></pre>
</blockquote>
</body>
</html>