Page 1 of 1

NagiosXI-DNX.sh not working

Posted: Fri Aug 21, 2015 2:28 am
by jcasanellas
Hello,

I'm install DNX for Nagios Core.
wget http://assets.nagios.com/downloads/nagi ... sXI-DNX.sh

I'm get error in download file dnx-0.20.1.tar.gz result file is a file "download" and not working all bash.

--2015-08-21 07:23:06-- http://freefr.dl.sourceforge.net/projec ... 0.1.tar.gz
Resolviendo freefr.dl.sourceforge.net (freefr.dl.sourceforge.net)... 88.191.250.136, 2a01:e0d:1:8:58bf:fa88:0:1
Conectando con freefr.dl.sourceforge.net (freefr.dl.sourceforge.net)[88.191.250.136]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK

El fichero ya ha sido totalmente recuperado, no hay nada que hacer.

tar (child): dnx-0.20.1.tar.gz: No se puede open: No existe el fichero o el directorio
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./NagiosXI-DNX.sh: 248: cd: can't cd to dnx-0.20.1
./NagiosXI-DNX.sh: 249: ./NagiosXI-DNX.sh: ./configure: not found
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
make: *** No rule to make target 'install-client'. Alto.
make: *** No rule to make target 'install-clientcfg'. Alto.
make: *** No rule to make target 'install-initscript'. Alto.
-e


I'm need help solution for this problem.

Thank you.

Re: NagiosXI-DNX.sh not working

Posted: Fri Aug 21, 2015 7:41 am
by jcasanellas
I'm have a solution download file and upload in web server, change url and run script.

I'm found another problem.

All install ok but finaly:

$/etc/init.d/dnxcld start
/etc/init.d/dnxcld: 21: .: Can't open /etc/sysconfig/network

And not running dnx. Can help me?

Thank you

Re: NagiosXI-DNX.sh not working

Posted: Fri Aug 28, 2015 11:41 am
by tmcdonald
Note: You originally posted in a section of the forum that is not patrolled by our support staff, hence the delay in responding.

What OS and version are you running? It is possible that your system does not use that /etc/sysconfig/network file. To check, please run:

ls -l /etc/sysconfig/network

and post the results.