Page 1 of 1

Problems installing Nagios

Posted: Tue May 08, 2018 8:05 am
by neo_infraestructura
Hi there!

I'm trying to install nagios in a new machine with Centos 7. When I excecute the command :
curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh
the installation stops with this error:
nagios1.png
I have already installed Nagios previously but I had never had any errors.

What could be the problem? Where is de "install.log" so I can send that information to you?

Re: Problems installing Nagios

Posted: Tue May 08, 2018 12:17 pm
by lmiltchev
Do you have an Internet connection? Are you using a proxy? Can you run successfully "yum update" on that system?

The install.log is located in the "/tmp/nagiosxi/" directory. Thank you!

Re: Problems installing Nagios

Posted: Tue May 08, 2018 1:48 pm
by neo_infraestructura
Yes, I have internet connection and can run yum update (did that just before installing Nagios).

thx for the help!

Re: Problems installing Nagios

Posted: Tue May 08, 2018 2:14 pm
by lmiltchev
Are you using a proxy? There is something that is blocking the connection to our site... You are supposed to be able to download "phantomjs-1.9.8-linux-x86_64.tar" file from assets.nagios.com. This is in the install.log:
Installing PhantomJS...
--2018-05-07 19:19:33-- http://assets.nagios.com/downloads/nagi ... x86_64.tar
Resolviendo assets.nagios.com (assets.nagios.com)... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Conectando con assets.nagios.com (assets.nagios.com)[72.14.181.71]:80... conectado.
Petición HTTP enviada, esperando respuesta... 503 Service Unavailable
2018-05-07 19:19:34 ERROR 503: Service Unavailable.
Can you download the file manually from the command line?

Code: Select all

wget http://assets.nagios.com/downloads/nagiosxi/packages/phantomjs-1.9.8-linux-x86_64.tar

Re: Problems installing Nagios

Posted: Wed May 09, 2018 8:27 am
by neo_infraestructura
It's fixed! I found the problem in the Firewall and the installation was completed.

Thx for the help! Close this topic.

Re: Problems installing Nagios

Posted: Wed May 09, 2018 9:03 am
by lmiltchev
I am glad I could help! :)