<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Courier New, Courier, monospace">I have a check command
defined in my template used by all hosts.  Is the host status  "(Host
assumed to be up)" normal?  <br>
<br>
Here is a paste from my anyone of my host status pages.  <br>
</font><font face="Courier New, Courier, monospace"><br>
<br>
</font>
<div class="dataTitle">Host State Information</div>
<table border="0">
  <tbody>
    <tr>
      <td>
      <table cellspacing="0" cellpadding="0" border="1">
        <tbody>
          <tr>
            <td class="stateInfoTable1">
            <table border="0">
              <tbody>
                <tr>
                  <td class="dataVar">Host Status:</td>
                  <td class="dataVal">
                  <div class="hostUP">  UP    </div>
                  </td>
                </tr>
                <tr>
                  <td class="dataVar">Status Information:</td>
                  <td class="dataVal">(Host assumed to be up)</td>
                </tr>
                <tr>
                  <td class="dataVar">Last Status Check:</td>
                  <td class="dataVal">08-05-2004 09:59:26</td>
                </tr>
                <tr>
                  <td class="dataVar">Status Data Age:</td>
                  <td class="dataVal">0d 0h 58m 12s</td>
                </tr>
                <tr>
                  <td class="dataVar">Last State Change:</td>
                  <td class="dataVal">07-09-2004 16:41:37</td>
                </tr>
                <tr>
                  <td class="dataVar">Current State Duration:</td>
                  <td class="dataVal">26d 18h 16m 1s</td>
                </tr>
                <tr>
                  <td class="dataVar">Last Host Notification:</td>
                  <td class="dataVal">N/A</td>
                </tr>
                <tr>
                  <td class="dataVar">Current Notification Number:  </td>
                  <td class="dataVal">0  </td>
                </tr>
                <tr>
                  <td class="dataVar">Is This Host Flapping?</td>
                  <td class="dataVal">
                  <div class="notflapping">  NO  </div>
                  </td>
                </tr>
                <tr '="">
                </tr>
                <tr>
                  <td class="dataVar">Percent State Change:</td>
                  <td class="dataVal">0.00%</td>
                </tr>
                <tr>
                  <td class="dataVar">In Scheduled Downtime?</td>
                  <td class="dataVal">
                  <div class="downtimeINACTIVE">  NO  </div>
                  </td>
                </tr>
                <tr>
                  <td class="dataVar">Last Update:</td>
                  <td class="dataVal">08-05-2004 10:56:55</td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
        </tbody>
      </table>
      </td>
    </tr>
  </tbody>
</table>
<br>
<font face="Courier New, Courier, monospace"><br>
Here is my template for my hosts.<br>
<br>
define host {<br>
name                           24x7-30min<br>
check_command                  check-host-alive<br>
max_check_attempts             5<br>
checks_enabled                 1<br>
event_handler_enabled          1<br>
low_flap_threshold             0<br>
high_flap_threshold            0<br>
flap_detection_enabled         1<br>
process_perf_data              1<br>
retain_status_information      1<br>
retain_nonstatus_information   1<br>
notification_interval          30<br>
notification_period            24x7<br>
notification_options           d,u,r<br>
notifications_enabled          1<br>
register                       0<br>
}<br>
<br>
I am using the standard "check-host-alive" command defined in the
checkcommands.cfg file.  <br>
<br>
define command {<br>
command_name                   check-host-alive<br>
command_line                   $USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,50% -c 5000.0,100% -p 3 -t 5<br>
}<br>
</font><br>
<font face="Courier New, Courier, monospace">If I understand  you
correctly then I should not need to define a service to
"check-host-alive" in the services.cfg file?  <br>
</font><br>
<pre class="moz-signature" cols="72">-- 

Timothy Stoddard
</pre>
<br>
Jason Martin wrote:<br>
<blockquote type="cite" cite="mid20040805153305.GP32547@zippy.toger.us">
  <pre wrap="">Nagios does not intrinsically know how to check anything,
so unless you've defined a command for a given type of check
Nagios isn't doing it.

-Jason Martin


On Thu, Aug 05, 2004 at 10:15:41AM -0500, Tim Stoddard wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have been reading through the docs and I cannot find a definitive 
answer to this.  Does Nagios do a ICMP host check automatically?  Is 
this something that need to put in the nagios.cfg file?  I have been 
defining an ICMP "check-host-alive" command on each host.  Now I think 
that Nagios is double ICMP checking all hosts. 

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>