Cluster Status in Web Interface unavailable

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Itaasi
Posts: 8
Joined: Mon Jun 11, 2018 1:47 am

Cluster Status in Web Interface unavailable

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Cluster Status in Web Interface unavailable

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Itaasi
Posts: 8
Joined: Mon Jun 11, 2018 1:47 am

Re: Cluster Status in Web Interface unavailable

Post 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?
You do not have the required permissions to view the files attached to this post.
Itaasi
Posts: 8
Joined: Mon Jun 11, 2018 1:47 am

Re: Cluster Status in Web Interface unavailable

Post 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.
Itaasi
Posts: 8
Joined: Mon Jun 11, 2018 1:47 am

Re: Cluster Status in Web Interface unavailable

Post by Itaasi »

Here's the system profile, you asked for.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status in Web Interface unavailable

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Itaasi
Posts: 8
Joined: Mon Jun 11, 2018 1:47 am

Re: Cluster Status in Web Interface unavailable

Post by Itaasi »

That did the trick!

Thank you!! :D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status in Web Interface unavailable

Post by cdienger »

Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked