Problemas para levantar o serviço do nagios... servidor do zero! [RESOLVIDO]

1. Problemas para levantar o serviço do nagios... servidor do zero! [RESOLVIDO]

Fábio Henrique Gomes
index.com

(usa Debian)

Enviado em 04/04/2012 - 10:23h

Pessoal,

Estou com este problema e não consigo resolver... Alguém poderia me da uma força?

Restarting nagios3 monitoring daemon: nagios3
unable to determine nagios_check_command from /etc/nagios3/cgi.cfg!...failed.

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios3/objects/commands.cfg'...
Processing object config file '/etc/nagios3/objects/contacts.cfg'...
Processing object config file '/etc/nagios3/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios3/objects/templates.cfg'...
Processing object config file '/etc/nagios3/objects/hostgroup.cfg'...
Processing object config file '/etc/nagios3/objects/localhost.cfg'...
Processing object config directory '/etc/nagios3/servers'...
Processing object config file '/etc/nagios3/servers/siv.cfg'...
Processing object config file '/etc/nagios3/servers/dozer.cfg'...
Processing object config file '/etc/nagios3/servers/neo.cfg'...
Processing object config file '/etc/nagios3/servers/matrix.cfg'...
Processing object config file '/etc/nagios3/servers/morfeu.cfg'...
Processing object config file '/etc/nagios3/servers/sentinela.cfg'...
Processing object config file '/etc/nagios3/servers/trinity.cfg'...
Processing object config file '/etc/nagios3/servers/niobe.cfg'...
Processing object config file '/etc/nagios3/servers/zion.cfg'...
Processing object config file '/etc/nagios3/servers/intelbrasdvr.cfg'...
Processing object config file '/etc/nagios3/servers/sati.cfg'...
Processing object config directory '/etc/nagios3/printers'...
Processing object config file '/etc/nagios3/printers/lx644e.cfg'...
Processing object config file '/etc/nagios3/printers/hpcp1515n.cfg'...
Processing object config directory '/etc/nagios3/switches'...
Processing object config file '/etc/nagios3/switches/ciscowap4410n.cfg'...
Processing object config file '/etc/nagios3/switches/tplinkwa901nd.cfg'...
Processing object config file '/etc/nagios3/switches/linksysrv106.cfg'...
Processing object config directory '/etc/nagios3/nrpe'...
Processing object config file '/etc/nagios3/nrpe/nabucodonosor.cfg'...
Processing object config file '/etc/nagios3/nrpe/tank.cfg'...
Processing object config file '/etc/nagios3/nrpe/smith.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 117 services.
Checking hosts...
Error: Contact group 'oraculo' specified in host 'matrix' is not defined anywher e!
Checked 20 hosts.
Checking host groups...
Checked 4 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 3 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 41 commands.
Checking time periods...
Checked 6 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 1

***> One or more problems was encountered while running the pre-flight check...

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.

errors in config! failed!
failed!




  


2. Re: Problemas para levantar o serviço do nagios... servidor do zero! [RESOLVIDO]

Fábio Henrique Gomes
index.com

(usa Debian)

Enviado em 04/04/2012 - 11:05h

Alguém???


3. outra mensagem

Fábio Henrique Gomes
index.com

(usa Debian)

Enviado em 04/04/2012 - 11:25h




4. roda isso ai

Juninho
volney_jr

(usa CentOS)

Enviado em 09/04/2012 - 16:42h

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Roda isso ai e posta a resposta aqui por favor...


5. Re: Problemas para levantar o serviço do nagios... servidor do zero! [RESOLVIDO]

Fábio Henrique Gomes
index.com

(usa Debian)

Enviado em 09/04/2012 - 17:05h

Amigos obrigado! por enquanto este problema eu resolvi... estou com alguns problemas mas logo eu posto como foi resolvido pois ele é muito complexo...

Abraços


6. Re: Problemas para levantar o serviço do nagios... servidor do zero! [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 09/04/2012 - 17:18h

bom se já conseguiu
só marca o tópico como resolvido
se aparecer outra dúvida podes criar outro tópico
Abraço






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts