Unable to get process status - Nagios

1. Unable to get process status - Nagios

Elton
eltongoncalves

(usa Outra)

Enviado em 19/02/2019 - 14:10h



Boa tarde !
Poderia me dar uma ajuda. Meu nagios não está abrindo o mapa.

/ systemctl status nagios.service
● nagios.service – Nagios Core 4.4.3
Loaded: loaded (/usr/lib/systemd/system/nagios.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Seg 2019-02-18 16:27:20 -03; 21h ago
Docs: https://www.nagios.org/documentation
Process: 25188 ExecStartPre=/usr/sbin/nagios -v /etc/nagios/nagios.cfg (code=exited, status=1/FAILURE)

Fev 18 16:27:20 SRV0004VC nagios[25188]: version of Nagios, you should be aw…s
Fev 18 16:27:20 SRV0004VC nagios[25188]: may have been removed or modified i…d
Fev 18 16:27:20 SRV0004VC nagios[25188]: the HTML documentation regarding th…e
Fev 18 16:27:20 SRV0004VC nagios[25188]: ‘Whats New’ section to find out wha….
Fev 18 16:27:20 SRV0004VC systemd[1]: Failed to start Nagios Core 4.4.3.
Fev 18 16:27:20 SRV0004VC systemd[1]: Unit nagios.service entered failed state.
Fev 18 16:27:20 SRV0004VC systemd[1]: nagios.service failed.
Fev 19 13:51:32 SRV0004VC systemd[1]: Unit nagios.service cannot be reloade…e.
Fev 19 13:53:55 SRV0004VC systemd[1]: Unit nagios.service cannot be reloade…e.
Fev 19 13:54:50 SRV0004VC systemd[1]: Unit nagios.service cannot be reloade…e.
Hint: Some lines were ellipsized, use -l to show in full.

Na web aparece esse erro:

Unable to get process status



  


2. Re: Unable to get process status - Nagios

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/02/2019 - 14:25h

Verifique o config:

# /usr/sbin/nagios -v /etc/nagios/nagios.cfg



3. Unable to get process status - Nagios

Elton
eltongoncalves

(usa Outra)

Enviado em 19/02/2019 - 14:39h

amarildosertorio escreveu:

Verifique o config:

# /usr/sbin/nagios -v /etc/nagios/nagios.cfg


Executei :

Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
Error: Could not open config directory '/etc/nagios/conf.d' for reading.
Error: Invalid max_check_attempts value for host 'ADCMDOCML'
Error: Could not register host (config file '/etc/nagios/servers/adcmdo.0.40.cfg', starting on line 9)
Error processing object config files!


***> 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 definitions. 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.





4. Re: Unable to get process status - Nagios

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/02/2019 - 15:10h

Corrija os erros e posteriormente os alertas relacionados ao deprecated.



5. Re: Unable to get process status - Nagios

Elton
eltongoncalves

(usa Outra)

Enviado em 20/02/2019 - 11:19h

Resolvido.

O amigo que trabalha comigo tinha mudado o ip do micro dele. É aonde fica os arquivos de configuração. Aí quando mudei tinha dado esse erro. Mas voltou.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts