Page 1 of 1

Cluster Status in Web Interface unavailable

Posted: Mon Mar 18, 2019 10:18 am
by Itaasi
Hey

Some background:
My cluster ran out of harddisk space, so I had to move all my data to a bigger harddisk.
I also had to delete a few corrupt indexes, including nagioslogserver.
Therefore I was forced to restore the nagioslogserver index from a backup to regain access to the Web Interface of NLS.

So here's the problem I have:
When I click on Cluster Status in the Admin section of the Web Interface, I get an error: 500.
The same thing happens when I click Index Status.

Is there a way to restore the functionality of both sections?

Thanks in advance
Itaasi

Re: Cluster Status in Web Interface unavailable

Posted: Tue Mar 19, 2019 3:02 pm
by npolovenko
Hello, @Itaasi. Please click on these two links a few times again and after you get the 500 error you can generate and send me a profile from each log server in the cluster. A profile can be generated under Admin > System > System Status or in the command line by running:
/usr/local/nagioslogserver/scripts/profile.sh
The profile can be found at /tmp/system-profile.tar.gz.

Re: Cluster Status in Web Interface unavailable

Posted: Wed Mar 20, 2019 6:12 am
by Itaasi
I tried running the CLI command, you linked, but I got the errors in the attached screenshot.

Seems the system drive is full for some reason.
Do you know of any way to make room on the system drive, so I can run the command without errors?

Re: Cluster Status in Web Interface unavailable

Posted: Wed Mar 20, 2019 6:49 am
by Itaasi
I found the culprit:
/var/log/logstash/logstash.log

I found a way to change the location of that log.
I will post the profile once it's made.

Re: Cluster Status in Web Interface unavailable

Posted: Wed Mar 20, 2019 8:34 am
by Itaasi
Here's the system profile, you asked for.

Re: Cluster Status in Web Interface unavailable

Posted: Thu Mar 21, 2019 10:57 am
by cdienger
This is usually due to a php memory limitation. Check out https://support.nagios.com/kb/article/n ... y-132.html to increase the value.

Re: Cluster Status in Web Interface unavailable

Posted: Fri Mar 22, 2019 4:33 am
by Itaasi
That did the trick!

Thank you!! :D

Re: Cluster Status in Web Interface unavailable

Posted: Fri Mar 22, 2019 9:07 am
by cdienger
Glad to hear!