Hi,
I am unable to start nagioslog server, I have start elasticsearch service many times, but it again goes down.
Elasticsearch database offline nagios log server
Elasticsearch database offline nagios log server
You do not have the required permissions to view the files attached to this post.
Re: Elasticsearch database offline nagios log server
Can you share the contents of your Elasticsearch logs? Please zip up the following path and share them via an attachment:
Code: Select all
/var/log/elasticsearch/Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Elasticsearch database offline nagios log server
No log is found at elasticsearch log location:
[root@localhost ~]# cd /var/log/elasticsearch/
[root@localhost elasticsearch]# ls
bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
[root@localhost elasticsearch]# ls -lhtr
total 0
-rw-r--r--. 1 nagios users 0 Feb 2 15:26 bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log
-rw-r--r--. 1 nagios users 0 Feb 2 15:26 bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
-rw-r--r--. 1 nagios users 0 Feb 7 15:58 bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log
[root@localhost ~]# cd /var/log/elasticsearch/
[root@localhost elasticsearch]# ls
bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
[root@localhost elasticsearch]# ls -lhtr
total 0
-rw-r--r--. 1 nagios users 0 Feb 2 15:26 bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log
-rw-r--r--. 1 nagios users 0 Feb 2 15:26 bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
-rw-r--r--. 1 nagios users 0 Feb 7 15:58 bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_search_slowlog.log
[root@localhost elasticsearch]# cat bc04b135-2d9b-4e73-9576-b17ec5b313c8_index_indexing_slowlog.log
Re: Elasticsearch database offline nagios log server
What happens if you try to start it? Please share the full output.
How much ram / disk space did you allocate to the machine, and how many CPU's?
Code: Select all
service elasticsearch startFormer Nagios Employee
Re: Elasticsearch database offline nagios log server
Service elasticsearch starts the service, but it alse went to down state with following error message.
[root@localhost ~]# service elasticsearch start
Starting elasticsearch: [ OK ]
[root@localhost ~]# service elasticsearch status
elasticsearch dead but pid file exists
Moreover machine specs are attached.
Thanks
[root@localhost ~]# service elasticsearch start
Starting elasticsearch: [ OK ]
[root@localhost ~]# service elasticsearch status
elasticsearch dead but pid file exists
Moreover machine specs are attached.
Thanks
Re: Elasticsearch database offline nagios log server
I don't see any specs attached, could you please post them again?
Former Nagios Employee
Re: Elasticsearch database offline nagios log server
PFA
You do not have the required permissions to view the files attached to this post.
Re: Elasticsearch database offline nagios log server
This simply isn't enough resources for NLS. I would expand the processors to at least 2, and the memory to at least 8GB. As it's java based, the main requirement to use it is going to memory.
Former Nagios Employee
Re: Elasticsearch database offline nagios log server
I increased resources and its start working for me.
Please close this thread.
Thanks
Please close this thread.
Thanks