Page 1 of 1

Initial Nagios Log Server installation appears to be hanging

Posted: Wed Feb 17, 2021 10:16 am
by nlh
Hi, very new and trialling Nagios Log Server to see if I can get it to do monitor outbound network traffic only.

I have installed it on an 8 Core 16GByte RAM Ubuntu 18.04 server with plenty of disk space.

As per the instructions, to install it I ran

curl https://assets.nagios.com/downloads/nag ... install.sh | sh

It appeared to finish correctly and gave me the message

You can finish the final setup steps for Nagios Log Server by visiting:
http://nnn.nnn.nnn.nnn/nagioslogserver/

I went to the link (with the real IP address) and selected install for the initial set up and entered the details it asked for and clicked green Finish Installation button

That changed to Please Wait.... around about an hour ago and the little dot on the tab has been going left and right ever since.

Tried a refresh and it just stays the same.

Does it really take this long? Anything else I can check??

Thanks N

Re: Initial Nagios Log Server installation appears to be han

Posted: Wed Feb 17, 2021 11:18 am
by nlh
OK took about 90 minutes and now at

Waiting for Database Startup
It looks like your local elasticsearch service is starting.

and that has taken far longer than the minute it says to contact the support team.

Top is showing very little resource usage

Re: Initial Nagios Log Server installation appears to be han

Posted: Wed Feb 17, 2021 5:34 pm
by cdienger
Please provide a profile from the system. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:

Code: Select all

/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.

I'd also like to get a copy of the current settings index. This can be gathered by running:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.

Please send both the profile and the index to me in a private message.

Re: Initial Nagios Log Server installation appears to be han

Posted: Fri Mar 05, 2021 4:36 am
by nlh
So the answer is not to install anything before installing the Log Server.

Wasn't a great deal I was installing

XRDP for remote access
Mate Desktop Environment
LightDM
Java
Firefox
Filezilla
Java

So guessing one of them broke it

Re: Initial Nagios Log Server installation appears to be han

Posted: Fri Mar 05, 2021 5:52 pm
by cdienger
It sounds like there has been success.

Per the doc a minimal install is recommended: https://assets.nagios.com/downloads/nag ... Server.pdf