Buen dia estoy aprendiendo a usar Nagios y depsues de las configuraciones me topo con este error alguien podria orientarme<br><br>[root@dsm_linux nagios]# /usr/bin/nagios -v /etc/nagios/nagios.cfg <br><br>Nagios Core 3.2.0<br>
Copyright (c) 2009 Nagios Core Development Team and Community Contributors<br>Copyright (c) 1999-2009 Ethan Galstad<br>Last Modified: 08-12-2009<br>License: GPL<br><br>Website: <a href="http://www.nagios.org">http://www.nagios.org</a><br>
Reading configuration data...<br>   Read main config file okay...<br>Processing object config file &#39;/etc/nagios/config/commands.cfg&#39;...<br>Processing object config file &#39;/etc/nagios/config/contacts.cfg&#39;...<br>
Processing object config file &#39;/etc/nagios/config/contactgroups.cfg&#39;...<br>Processing object config file &#39;/etc/nagios/config/timeperiods.cfg&#39;...<br>Processing object config file &#39;/etc/nagios/config/templates.cfg&#39;...<br>
Processing object config file &#39;/etc/nagios/config/hosts.cfg&#39;...<br>Processing object config file &#39;/etc/nagios/config/hostgroups.cfg&#39;...<br>Processing object config file &#39;/etc/nagios/config/services.cfg&#39;...<br>
Processing object config directory &#39;/etc/nagios/config&#39;...<br>Processing object config file &#39;/etc/nagios/config/hosts.cfg&#39;...<br>Warning: Duplicate definition found for host &#39;google&#39; (config file &#39;/etc/nagios/config/hosts.cfg&#39;, starting on line 3)<br>
Error: Could not add object property in file &#39;/etc/nagios/config/hosts.cfg&#39; on line 4.<br>   Error processing object config files!<br><br><br>***&gt; One or more problems was encountered while processing the config files...<br>
<br>     Check your configuration file(s) to ensure that they contain valid<br>     directives and data defintions.  If you are upgrading from a previous<br>     version of Nagios, you should be aware that some variables/definitions<br>
     may have been removed or modified in this version.  Make sure to read<br>     the HTML documentation regarding the config files, as well as the<br>     &#39;Whats New&#39; section to find out what has changed.<br><br>
y esta es la configuracion de hosts.cfg <br><br>#Para checar si la linea de salidaa internet es correcta <br><br>define host{<br>        host_name google <br>        alias   Conexion Internet <br>        address <a href="http://www.google.com">www.google.com</a><br>
        use generic-host<br>}<br><br>define host{<br>        host_name miwangateway<br>        alias   ISP Gateway <br>        address 189.229.45.238<br>        parents google <br>        use generic-host <br>}<br><br>define host{<br>
        host_name milangateway<br>        alias  LAN Internet Gateway <br>        address 192.168.1.254<br>        parents miwangateway<br>        use generic-host<br>}<br><br>define host{<br>      host_name dsm_linux <br>
      alias  Servidor Nagios <br>      address 192.168.1.69<br>     # parents milangateway<br>      use generic-host<br>}<br><br>#define host{<br>     #   host_name dsm_vsa <br>    #    alias  Windows Server<br>   #     address <a href="http://gwdsmvsa.myvnc.com">gwdsmvsa.myvnc.com</a><br>
  #      parents milangateway<br> #       use generic-host<br>#}<br><br><br><br>