Hi
I need to archive the XI system and keep the data (like rrd etc.) within a year.
Is there has any solution to do this ?
How to archive the XI ?
Re: How to archive the XI ?
What do you mean by "archive"? Do you want to take a backup of the system, or are you asking how to modify data retention settings?
Former Nagios employee
-
eric.lin826
- Posts: 33
- Joined: Thu Apr 02, 2015 11:51 pm
Re: How to archive the XI ?
Hi
For example.
The XI system is running for 2 years.
I want to archive the first year's data and keep the second year's data on the system.
For example.
The XI system is running for 2 years.
I want to archive the first year's data and keep the second year's data on the system.
Re: How to archive the XI ?
My recommendation would be for you to first do an XI backup to capture the data that you currently have (this will contain all the data needed to restore so you can access it):
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Then setup scheduled backups and transfer them off-server so that you can access the data as needed.
Then go to Admin > System Config > Performance Settings > Database and adjust the retention settings as needed.
RRD files always stay the same size so you shouldn't need to worry about that, but if you really wanted to prune them you would need to export the data to XML, delete the data you don't want, and then import the XML file into a new RRD.
This would give you an example of the process:
- Note that once you exported them to XML you would need to script the removal or manually modify the XML files before importing into the new RRDs
https://support.nagios.com/kb/article.php?id=166
Let us know if you have any questions.
Thank you
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Then setup scheduled backups and transfer them off-server so that you can access the data as needed.
Then go to Admin > System Config > Performance Settings > Database and adjust the retention settings as needed.
RRD files always stay the same size so you shouldn't need to worry about that, but if you really wanted to prune them you would need to export the data to XML, delete the data you don't want, and then import the XML file into a new RRD.
This would give you an example of the process:
- Note that once you exported them to XML you would need to script the removal or manually modify the XML files before importing into the new RRDs
https://support.nagios.com/kb/article.php?id=166
Let us know if you have any questions.
Thank you
-
eric.lin826
- Posts: 33
- Joined: Thu Apr 02, 2015 11:51 pm
Re: How to archive the XI ?
Thanks !
I will follow your recommendation.
I will follow your recommendation.
Re: How to archive the XI ?
Let us know if you have further questions!
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/