Page 1 of 2

starting and stopping nagios log server

Posted: Wed Jun 01, 2016 1:25 am
by Monica7
Hi,

How to start and stop the nagios log server in Linux server (where nagios log server is installed)?

Re: starting and stopping nagios log server

Posted: Wed Jun 01, 2016 9:44 am
by rkennedy
Could you please clarify what you're trying to do exactly?

If it's as simple as you're asking, then NLS depends on multiple different services to run, it doesn't have its own. These are httpd, elasticsearch, and logstash.

Code: Select all

service stop httpd
service stop elasticsearch
service stop logstash

Re: starting and stopping nagios log server

Posted: Thu Jun 02, 2016 1:48 pm
by Monica7
Thanks Kennedy

Re: starting and stopping nagios log server

Posted: Thu Jun 02, 2016 2:09 pm
by mcapra
Is it ok if we lock this thread and mark the issue as resolved?

Re: starting and stopping nagios log server

Posted: Fri Jun 03, 2016 4:17 pm
by Monica7
Yes Kennedy.we can close this

Re: starting and stopping nagios log server

Posted: Mon Jun 06, 2016 4:58 am
by Monica7
Hi Kenedy ,

In order to start and stop the nagios log server In nagios web interface, we have to go to Administration ->system status. right?

But status of elastic search and logstash is keep on loading.i couldn't able to see any icon to restart .I have been waited for 10 to 15 mins but still it was loading. how to resolve this issue.

Re: starting and stopping nagios log server

Posted: Mon Jun 06, 2016 9:35 am
by hsmith
You cannot do this from the Web UI. This needs to be done from the terminal.

Re: starting and stopping nagios log server

Posted: Mon Jun 06, 2016 1:13 pm
by jvestrum
hsmith wrote:You cannot do this from the Web UI. This needs to be done from the terminal.
You should probably remove the line on the System Status page that says "The system status shows the important required components statuses and allows you to start/stop/restart them from the web UI."

I get the same thing as Monica7, no start/stop/restart buttons ever appear. Not that I'd trust them anyways ;). That's an always-CLI operation in my book.

Re: starting and stopping nagios log server

Posted: Mon Jun 06, 2016 1:16 pm
by hsmith
I think I provided bad information, the button is present to do it, but it doesn't seem to work correctly for me. I'll test this further.

Are you using SSL on your server, or is it behind a load balancer by chance?

What version of LogServer are you on?

Re: starting and stopping nagios log server

Posted: Mon Jun 06, 2016 11:56 pm
by Monica7
Hi,

Please find the version details below.

Nagios Log Server 1.4.1
Elasticsearch 1.6.0
Logstash 1.5.1
Kibana 3.1.1-nagios3

SSL configuration is there in my environment. But I didn't do any configuration which is specific to nagios log server