waiting for elasticsearch database...

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

waiting for elasticsearch database...

Post by googol »

been at this for a long time, how long should it take to index (if it is?) - what log should I look at for errors/issues?

tried restarting both servers in the cluster as per https://support.nagios.com/kb/article.php?id=550

one of the instances came up as normal like it should, the original still hanging around.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: waiting for elasticsearch database...

Post by googol »

Waiting for Database Startup

It looks like your local elasticsearch service is starting.
Why am I getting this error?

Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.

The page will refresh automatically after 5 seconds...
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: waiting for elasticsearch database...

Post by googol »

went ahead and bumped up the memory on both instances from 12GB to 16GB and the primary instance came online...cluster health yellow.

guessing it was a heapsize issue? I will monitor and make sure it catches up and goes green again.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: waiting for elasticsearch database...

Post by scottwilkerson »

Let us know if it doesn't go green in a reasonable amount of time (reasonable is going to depend on how much data you have open in indexes)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: waiting for elasticsearch database...

Post by googol »

it did go green after like 2 hours, it caught up and we are good. looks good, thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: waiting for elasticsearch database...

Post by scottwilkerson »

Excellent, glad to hear it is resolved.

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked