New node added to existing cluster

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

New node added to existing cluster

Post by rferebee »

Hello,

Is there a log I can look at on my Log Server box to see if it's successfully writing data to the new node I added to my cluster?

I can see in the Cluster Status section that the cluster is attempting to relocate 2 shards, but I don't see the disk space decreasing on the new node. I'm thinking there are permissions somewhere I need to adjust, but I'm not 100% sure.

Thank you.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: New node added to existing cluster

Post by mbellerue »

The very first place I would check on this would be Admin -> Instance Status. But if you're not seeing any movement there, /var/log/elasticsearch/ will contain logs. The actual data gets stored at /usr/local/nagioslogserver/elasticsearch/data/.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: New node added to existing cluster

Post by rferebee »

It appears the server is not looking in the correct place to store the Log Server data, it should be way more than 3GB available.

Can you tell me where that variable is defined on the server?
You do not have the required permissions to view the files attached to this post.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: New node added to existing cluster

Post by rferebee »

I see the issue, the directory is named incorrectly.

It's just logserver when it needs to be nagioslogserver. I'll rename it and that should fix the problem.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: New node added to existing cluster

Post by rferebee »

After I fix the directory name, should I restart elasticsearch and logstash on the server in question?
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: New node added to existing cluster

Post by rferebee »

This is now resolved. You can close this thread.

The issue was the directory name.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: New node added to existing cluster

Post by scottwilkerson »

rferebee wrote:This is now resolved. You can close this thread.

The issue was the directory name.
Great!

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