adding extra NLS datapath

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: adding extra NLS datapath

Post by scottwilkerson »

Do you see any errors if you watch this?

Code: Select all

tail -f /usr/local/nagioslogserver/var/poller.log
Also, can you post the output of this command

Code: Select all

curl "localhost:9200/nagioslogserver/node/_search?pretty&q=elasticsearch"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rocheryderm
Posts: 69
Joined: Fri Jul 13, 2018 1:09 pm

Re: adding extra NLS datapath

Post by rocheryderm »

Code: Select all

# tail -f /usr/local/nagioslogserver/var/poller.log
Updating Cluster Hosts File
Updating Elasticsearch with instance...
Updating Cluster Hosts File
Updating Elasticsearch with instance...
Updating Cluster Hosts File
Updating Elasticsearch with instance...
Updating Cluster Hosts File
Updating Elasticsearch with instance...
Finished Polling.

Code: Select all

]# curl "localhost:9200/nagioslogserver/node/_search?pretty&q=elasticsearch"
{
  "took" : 3,
  "timed_out" : false,
  "_shards" : {
    "total" : 4,
    "successful" : 4,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : null,
    "hits" : [ ]
  }
}
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: adding extra NLS datapath

Post by scottwilkerson »

There are definitely still issues with this install that are very odd and I'm not really sure how they cam to be, nor how to fix them.

I would highly recommend setting up a snapshot repository so you have all of your log data secure
https://assets.nagios.com/downloads/nag ... Server.pdf

Then, in order to fix the server issues, the best I can think of would be to setup a new cluster and then restore the data from the Snapshot Repository.

This is the only way that I can see forward as the current cluster is not operating as expected.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rocheryderm
Posts: 69
Joined: Fri Jul 13, 2018 1:09 pm

Re: adding extra NLS datapath

Post by rocheryderm »

scottwilkerson wrote:There are definitely still issues with this install that are very odd and I'm not really sure how they cam to be, nor how to fix them.

I would highly recommend setting up a snapshot repository so you have all of your log data secure
https://assets.nagios.com/downloads/nag ... Server.pdf

Then, in order to fix the server issues, the best I can think of would be to setup a new cluster and then restore the data from the Snapshot Repository.

This is the only way that I can see forward as the current cluster is not operating as expected.
Please no -- the cluster was operating perfectly, green lights all around, until I followed the instructions to extend diskspace.

Can we dissect the cause for these? I don't have time to rebuild the cluster.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: adding extra NLS datapath

Post by cdienger »

Please PM me a fresh profile from each system and I can take another look at this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rocheryderm
Posts: 69
Joined: Fri Jul 13, 2018 1:09 pm

Re: adding extra NLS datapath

Post by rocheryderm »

cdienger wrote:Please PM me a fresh profile from each system and I can take another look at this.
Thank you so much for your offer to help - I believe you helped me with a similar problem a few months ago, related to licensing.

:D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: adding extra NLS datapath

Post by cdienger »

The nagioslogserver index is green but may not have all the valid info. Run:

Code: Select all

/usr/local/nagioslogserver/scripts/create_backup.sh
Which should then backup whatever is in there now and save in in a file in /store/backups/nagioslogserver. Please PM me this file. This only needs be run on one of the nodes in the cluster.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked