Nagios+Centreon, Erro instalação (ndomod.o)

1. Nagios+Centreon, Erro instalação (ndomod.o)

Washington Viana
washington.viana

(usa Ubuntu)

Enviado em 18/02/2012 - 21:40h


Devido a exigências dos trabalhos estava a mais de 8 anos sem usar nenhuma distribuição linux, agora preciso voltar a usa-lo, instalei no meu note o Ubuntu 11.10 e montei uma maquina virtual com o Ubuntu 10.04, e estou seguindo o tutorial do Samuel Costa (www.vivaolinux.com.br/artigo/Instalacao-do-Centreon-+-Nagios-3), mas quando cheguei no tópico 7.5.3, mais precisamente quando pergunta “Where is your NDO ndomod binary ? default to [/usr/sbin/ndomod.o]” e eu confirmo para a configuração padrão aparece a seguinte mensagem “/usr/sbin/ndomod.o is not a valid file. CRITICAL”, até esse ponto tudo correu bem sem maiores problemas já procurei na rede se alguém já procurou pelo mesmo problema, mas não achei em nenhum forum;

Segue o script do instal.sh do erro até o momento do erro.

ubuntu@ubuntu-virt:/usr/local/src/centreon-2.3.4$ sudo ./install.sh -i
###############################################################################
# #
# Centreon (www.centreon.com) #
# Thanks for using Centreon #
# #
# v2.3 #
# #
# infos@centreon.com #
# #
# Make sure you have installed and configured #
# sudo - sed - php - apache - rrdtool - mysql #
# #
###############################################################################
------------------------------------------------------------------------
Checking all needed binaries
------------------------------------------------------------------------
rm OK
cp OK
mv OK
/bin/chmod OK
/bin/chown OK
echo OK
more OK
mkdir OK
find OK
/bin/grep OK
/bin/cat OK
/bin/sed OK

You will now read Centreon Licence.
Press enter to continue.


GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it

Do you accept GPL license ?
[y/n], default to [n]:
> y
------------------------------------------------------------------------
Please choose what you want to install
------------------------------------------------------------------------

Do you want to install : Centreon Web Front
[y/n], default to [n]:
> y

Do you want to install : Centreon CentCore
[y/n], default to [n]:
> y

Do you want to install : Centreon Nagios Plugins
[y/n], default to [n]:
> y

Do you want to install : Centreon Snmp Traps process
[y/n], default to [n]:
> y

------------------------------------------------------------------------
Start CentWeb Installation
------------------------------------------------------------------------

Where is your Centreon directory?
default to [/usr/local/centreon]
> y
You select slash...

Where is your Centreon directory?
default to [/usr/local/centreon]
> y
You select slash...

Where is your Centreon directory?
default to [/usr/local/centreon]
>
Path /usr/local/centreon OK

Where is your Centreon log directory
default to [/usr/local/centreon/log]
>
Path /usr/local/centreon/log OK

Where is your Centreon etc directory
default to [/etc/centreon]
>
Path /etc/centreon OK

Where is your Centreon generation_files directory?
default to [/usr/local/centreon]
>
Path /usr/local/centreon OK

Where is your Centreon variable library directory?
default to [/var/lib/centreon]
>
Path /var/lib/centreon OK

Where is your CentPlugins Traps binary
default to [/usr/local/centreon/bin]
>
Path /usr/local/centreon/bin OK

Where is the RRD perl module installed [RRDs.pm]
default to [/usr/lib/perl5/RRDs.pm]
>
Path /usr/lib/perl5 OK
/usr/bin/rrdtool OK
/usr/bin/mail OK

Where is PEAR [PEAR.php]
default to [/usr/share/php/PEAR.php]
>
Path /usr/share/php OK

Where is installed Nagios ?
default to [/usr/local/nagios]
>
Path /usr/local/nagios OK

Where is your nagios config directory
default to [/usr/local/nagios/etc]
>
Path /usr/local/nagios/etc OK

Where is your Nagios var directory ?
default to [/usr/local/nagios/var]
>
Path /usr/local/nagios/var OK

Where is your Nagios plugins (libexec) directory ?
default to [/usr/local/nagios/libexec]
>
Path /usr/local/nagios/libexec OK

Where is your nagios binary ?
default to [/usr/local/nagios/bin/nagios]
>
/usr/local/nagios/bin/nagios OK

Where is your Nagios image directory ?
default to [/usr/local/nagios/share/images/logos]
>
Path /usr/local/nagios/share/images/logos OK

Where is your nagiostats binary ?
default to [/usr/local/nagios/bin/nagiostats]
>
/usr/local/nagios/bin/nagiostats OK
p1_file : /usr/local/nagios/bin/p1.pl OK
/usr/bin/php OK
/usr/bin/perl OK
Finding Apache group : www-data
Finding Apache user : www-data
Finding Nagios user : nagios
Finding Nagios group : nagios

Where is your NDO ndomod binary ?
default to [/usr/sbin/ndomod.o]
>
/usr/sbin/ndomod.o is not a valid file. CRITICAL

Where is your NDO ndomod binary ?
default to [/usr/sbin/ndomod.o]
>
/usr/sbin/ndomod.o is not a valid file. CRITICAL


  


2. Re: Nagios+Centreon, Erro instalação (ndomod.o)

Samuel Costa
tudor

(usa Outra)

Enviado em 24/02/2012 - 14:35h

Olá Washington!!

Desculpe a demora em responder a questão, precisamos fazer alguns testes pra fazer essa verificação, visto que aqui tá funfando blz!! Vou atualizar o centreon esse fds então podemos tirar todas as dúvidas pertinentes ao caso.

A primeira coisa que vc precisa fazer é continuar a instalação até chegar a configuração web do centreon como é explicado no tutorial, feito isto nos passe os alertas que na interface web aparecem, à partir daí iremos dar continuidade...

Abs.;






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts