Pular para o conteúdo

Erro no Nagios - Desconhecido

Responder tópico
  • Denunciar
  • Indicar

1. Erro no Nagios - Desconhecido

Enviado em 04/12/2012 - 10:29h

Error in configuration file '/usr/local/nagios/etc/objects/localhost.cfg' - Line 2 (NULL value)
Error processing main config file!

***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.


Pessoal esse erro é desconhecido por mim

A linha 2 representada , apenas é uma definicao de host...

Caso sabiam o que é fico agradecido.

Obrigado




Responder tópico

2. Re: Erro no Nagios - Desconhecido

Enviado em 04/12/2012 - 10:39h

posta ai o arquivo localhost.cfg para podemos analisar


3. segue o inicio dele ...

Enviado em 04/12/2012 - 10:46h


# 'xxx' host definition
define host{
use generic-host ; Name of host template to use
host_name xxx
alias xxx
address 10.221.0.45
check_command check-host-alive
parents xxx
max_check_attempts 8
notification_interval 60
notification_period 24x7
notification_options d
contact_groups admins
}

4. Re: Erro no Nagios - Desconhecido

Enviado em 04/12/2012 - 10:59h

e no "host_name" esta tudo certo ?

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder