Page 1 of 2
elasticsearch and logstash doesn't start in web ui
Posted: Tue May 31, 2016 4:03 pm
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.
Re: elasticsearch and logstash doesn't start in web ui
Posted: Tue May 31, 2016 4:12 pm
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
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 7:02 am
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 ?
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 10:00 am
by venkatesh
hi
uploaded the latest log file.
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 10:09 am
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.
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 12:59 pm
by venkatesh
i don't have a clean machine at present .
Can we install it in complete manual method ?
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 1:56 pm
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.
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 2:22 pm
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 ?
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 2:25 pm
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.
Re: elasticsearch and logstash doesn't start in web ui
Posted: Wed Jun 01, 2016 4:06 pm
by venkatesh
What are the recommended specifications of a clean system ?