<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    You can use the same command defined for the service to be the
    check_command for the server.<br>
    <br>
    version 3 has changes significlly from version 3 and also has some
    of the configuration directives.<br>
    <br>
    you should read the updated docs on the changes and on the new
    configuration.<br>
    <br>
    <br>
    <br>
    On 18/10/12 20:42, Leonardo Bacha Abrantes wrote:
    <blockquote
cite="mid:CAG+8EEZq0-z9Hw+DjNTXsAsmsvdQ_vPKLb0XLKdaG2su9TmSoA@mail.gmail.com"
      type="cite">Hey guys!<br>
      <br>
      I'm monitoring my external dns server with these configuration in
      nagios with these configuration:<br>
      <br>
      define host{ <br>
              host_name               myserver<br>
              notes                   External primary DNS<br>
              notifications_enabled   0<br>
              notification_interval   0<br>
              max_check_attempts      5<br>
          <b><span style="color: rgb(255, 0, 0);">   ####
          initial_state           o     =====> It doesn't worked</span></b><br>
              contact_groups          xxxxx<br>
              }<br>
      <br>
      <br>
      define service{<br>
              use                     generic-service<br>
              service_description     Response Test<br>
              max_check_attempts      3<br>
              normal_check_interval   7<br>
              retry_check_interval    2<br>
              contact_groups          xxxxxx<br>
              check_command           check_external_dns!<a
        moz-do-not-send="true" href="http://www.mysite.com">www.mysite.com</a>!xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy<br>
              host_name               myserver<br>
              }<br>
      <br>
      <br>
      it's working, however, nagios is not assuming the host is up. How
      can I configure nagios to assume an host is up when the services
      of it are up ? <br>
      PS: The same configuration worked on nagios versions 2.9 and 1.4.<br>
      <br>
      nagios: 3.4.1<br>
      <br>
      can anyone help me please ?<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/appdyn_sfd2d_oct">http://p.sf.net/sfu/appdyn_sfd2d_oct</a></pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
    </blockquote>
    <br>
  </body>
</html>