Page 4 of 4
Re: adding extra NLS datapath
Posted: Mon Nov 18, 2019 4:48 pm
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"
Re: adding extra NLS datapath
Posted: Tue Nov 19, 2019 11:26 am
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" : [ ]
}
}
Re: adding extra NLS datapath
Posted: Tue Nov 19, 2019 5:31 pm
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.
Re: adding extra NLS datapath
Posted: Wed Dec 04, 2019 12:57 pm
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.
Re: adding extra NLS datapath
Posted: Wed Dec 04, 2019 5:51 pm
by cdienger
Please PM me a fresh profile from each system and I can take another look at this.
Re: adding extra NLS datapath
Posted: Thu Dec 05, 2019 2:21 pm
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.

Re: adding extra NLS datapath
Posted: Thu Dec 05, 2019 3:07 pm
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.