Hi.
I need to add the indices of a Nagios Log Server to a completely different one.
I know that there is the snapshot option, but when I restore it I lose the logs that it has.
Is there any other way to do it?
Thank you very much.
Is it possible to transfer indexes between servers?
-
mowicas465
- Posts: 2
- Joined: Mon Aug 31, 2020 4:34 am
Re: Is it possible to transfer indexes between servers?
I'm not sure what you mean by losing the logs when you restore. If you use a repo(https://assets.nagios.com/downloads/nag ... enance.pdf) to backup the data, another NLS instance could always be configured to use the same repo and have access to these backups.
You also could add another NLS node to create a cluster. The indexes are automatically shared when this happens. Note that if you're only licensed for 1 NLS machine that the NLS dashboard will not be available if there is more than 1 node in the cluster. The nodes will still be accpeting data however so you could just remove the second node after it syncs and you'll then have two nodes with the same config and copies of the data.
Adding and removing a node is covered in https://assets.nagios.com/downloads/nag ... luster.pdf and https://assets.nagios.com/downloads/nag ... luster.pdf.
You also could add another NLS node to create a cluster. The indexes are automatically shared when this happens. Note that if you're only licensed for 1 NLS machine that the NLS dashboard will not be available if there is more than 1 node in the cluster. The nodes will still be accpeting data however so you could just remove the second node after it syncs and you'll then have two nodes with the same config and copies of the data.
Adding and removing a node is covered in https://assets.nagios.com/downloads/nag ... luster.pdf and https://assets.nagios.com/downloads/nag ... luster.pdf.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
mowicas465
- Posts: 2
- Joined: Mon Aug 31, 2020 4:34 am
Re: Is it possible to transfer indexes between servers?
Hello cdienger.
Thank you for your response. I will try to be more clear.
Suppose we have server "A" and server "B".
I take a snapshot (in the "Snapshots & Maintenance" panel) of server "A" and restore it to server "B".
By doing this, the logs that server "B" had collected will be replaced by those of server "A".
What I need is to transfer the logs from Server "A" to Server "B", without losing the ones that already existed.
Thanks again. Regards.
Thank you for your response. I will try to be more clear.
Suppose we have server "A" and server "B".
I take a snapshot (in the "Snapshots & Maintenance" panel) of server "A" and restore it to server "B".
By doing this, the logs that server "B" had collected will be replaced by those of server "A".
What I need is to transfer the logs from Server "A" to Server "B", without losing the ones that already existed.
Thanks again. Regards.
Re: Is it possible to transfer indexes between servers?
I see. So you want to merge the two. This is not possible.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.