Hi Everyone,
I recently setup a new Nagios Log Server, the old one is still currently running. This is a single instance install. I want to move all of the logs from the old server to the new one, I was going to do this with snapshots but it looks like the repository only has the last 30 days. I'm new to linux and this software but I was able to figure out how to mount to a windows share using CIFS and use it as a repo. Is there a way to get a full backup of all that data?
Moving Log Server Data
Re: Moving Log Server Data
Welcome to the forum, @isaacl86!
Repos will typically hold older data that is deleted from the NLS node. What logs are you trying to make accessible to the new machine exactly? Can you provide screenshots to help clarify?
Repos will typically hold older data that is deleted from the NLS node. What logs are you trying to make accessible to the new machine exactly? Can you provide screenshots to help clarify?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Moving Log Server Data
thanks for the response @cdienger, (not sure if that tagged you)
I shall upload a couple of screen shots from the older server - what I would like to do is pull all log data that has already been gathered to the new log server. We need to have at least a year of logs. I was originally trying to copy the disk and move it to VMWARE from Azure but I wasn't able to boot the system so we decided to just setup a new one and backup/restore or figure a way to copy the logs. FYI I just setup the Repo, this system was running without it before.
I shall upload a couple of screen shots from the older server - what I would like to do is pull all log data that has already been gathered to the new log server. We need to have at least a year of logs. I was originally trying to copy the disk and move it to VMWARE from Azure but I wasn't able to boot the system so we decided to just setup a new one and backup/restore or figure a way to copy the logs. FYI I just setup the Repo, this system was running without it before.
You do not have the required permissions to view the files attached to this post.
Re: Moving Log Server Data
Snapshots are only going to get copies of the currently open indexes so that would explain why the repos only go so far back.
What I would recommend is reinstalling NLS on a new machine and when you get to the part in the web UI where it asks you to install or connect, select the connect option to connect it to the existing machine - https://library.nagios.com/library/prod ... o-cluster/
This will sync the configuration as well as open indices. To sync the closed indices you'll need to reopen them, allow them to sync, and then close them again. This can be done with a script - https://gist.github.com/jinnko/78072a77 ... 963492e9f4.
What I would recommend is reinstalling NLS on a new machine and when you get to the part in the web UI where it asks you to install or connect, select the connect option to connect it to the existing machine - https://library.nagios.com/library/prod ... o-cluster/
This will sync the configuration as well as open indices. To sync the closed indices you'll need to reopen them, allow them to sync, and then close them again. This can be done with a script - https://gist.github.com/jinnko/78072a77 ... 963492e9f4.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Moving Log Server Data
Thanks! I will give this a shot.
Re: Moving Log Server Data
Sounds good. Keep us posted!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.