elasticsearch and logstash doesn't start in web ui

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

hi,
I recently installed nagios log server by running "fullinstall" script.
The logstash and elasticsearch processes seem to be running in my machine but,they still appear to be down in nagios log server web UI.
Here I am attaching the instal.log file and the screen shot of nagios log server web UI.
I restarted these services couple of times.
But still no change.

Expecting a quick response from the support team.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: elasticsearch and logstash doesn't start in web ui

Post by rkennedy »

How much resources do you have allocated to this machine? (CPU and RAM)

Can you post your logstash log file? /var/log/logstash/logstash.log

Also, please post the full output of your running processes. ps -aef
Former Nagios Employee
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

Re: elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

Hi,
I have enough RAM and CPU.
And about storage capacity, i have uploaded the attachment.
I have also attached ps -ef output and logstash.log files as well.
Please let me know if you have any recommendations for storage ?
You do not have the required permissions to view the files attached to this post.
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

Re: elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

hi
uploaded the latest log file.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: elasticsearch and logstash doesn't start in web ui

Post by rkennedy »

I am seeing that there is quite a lot of other applications running on the NLS machine. WIth that said, it's hard to troubleshoot what the issue is.

Looking at your logstash file, I see -

Code: Select all

{:timestamp=>"2016-05-31T10:41:18.466000-0400", :message=>"SIGTERM received. Shutting down the pipeline.", :level=>:warn}
{:timestamp=>"2016-05-31T10:41:30.966000-0400", :message=>"Failed to install template: None of the configured nodes are available: []", :level=>:error}
NLS needs to be on a clean, minimal, CentOS / RHEL machine, that does not have other applications running on it.
Former Nagios Employee
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

Re: elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

i don't have a clean machine at present .
Can we install it in complete manual method ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: elasticsearch and logstash doesn't start in web ui

Post by hsmith »

We have a prebuilt VM you can download here if you do not have a clean machine at the moment.
venkatesh wrote: Can we install it in complete manual method ?
Our installation script is the only supported method of installing NLS other than using the OVF.
Former Nagios Employee.
me.
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

Re: elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

Currently I want to use the NLS in my existing machine and i don't want to install VM in it.
Is there any way that we can troubleshoot my machine to work with NLS ?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: elasticsearch and logstash doesn't start in web ui

Post by rkennedy »

You can look in your /var/log/messages file to see if anything appears there. That's the only guess I have with it not being a clean system though. With all of the other applications running, we don't even know where to start troubleshooting as there are a lot more factors.

NLS expects a clean install, so even if you do get it working you could experience issues down the road.
Former Nagios Employee
venkatesh
Posts: 6
Joined: Fri May 27, 2016 1:27 pm

Re: elasticsearch and logstash doesn't start in web ui

Post by venkatesh »

What are the recommended specifications of a clean system ?
Locked