Page 1 of 1
Nagios Xi Host/service performance data retention period
Posted: Fri Feb 07, 2014 7:09 am
by nagarjuna
Hi Team,
We have configured NagiosXI, and its working fine with 3500 devices and with 21000 service checks.
We want to retain host/service performance data for 3 months, If i am not wrong, by default its unlimited in nagiosxi.
Can you please check and let us know how do we configure?
Re: Nagios Xi Host/service performance data retention period
Posted: Fri Feb 07, 2014 3:32 pm
by sreinhardt
It is not truely unlimited, at some point 1-2 years out it does drop data from my understanding. However more importantly it compresses and generalizes data more and more as time goes on. SO when you say that you want to store data for 3 months what do you mean exactly? You want to store every single check result for 3 months then drop it, then start to compress, or you just want to store at our normal interval and compression, but then after 3 months entirely drop data?
Re: Nagios Xi Host/service performance data retention period
Posted: Sat Feb 08, 2014 10:35 am
by nagarjuna
Hi sreinhardt,
Thank you very much for replying,
We want graph and reports, for all hosts and services and history of logs for last 3 months only. We want to create retention period policy for storing this data on the system.
because all graphs and reports are generated from rrd files and logs, how do we create retention policy for last 3 months data only should be stored in nagiosxi machine.
We are taking backup from nagiosxi_backup.sh script.
Re: Nagios Xi Host/service performance data retention period
Posted: Mon Feb 10, 2014 11:19 am
by abrist
Changing the rrd retention rates would require recreating all your current rrds with a new template. This will lead to a loss in historical data before this point. Additionally, altering the rrd template will not be future proof as every XI update has a chance of updating the default script to create rrds. XI does preserver data for more than 3 months currently, and you do not save space by shortening the default values as the rrds will essentially remain the same size.
Re: Nagios Xi Host/service performance data retention period
Posted: Mon Feb 10, 2014 3:39 pm
by nagarjuna
Thanks abrist,
As i understand rrd file containing current data not historic data. where is historic data saved for graph and reports in nagiosxi tool. We want 3 months data on nagiosxi and apart from this data we will create offsite data policy for them.
can you suggest us, how we can retain data for 3 months for reports.
3 months history is enough for us. do we need to do something in mysql tables also.
Re: Nagios Xi Host/service performance data retention period
Posted: Mon Feb 10, 2014 4:04 pm
by abrist
nagarjuna wrote:
As i understand rrd file containing current data not historic data
This is incorrect. RRDs *do indeed* store historical information - specifically, historical performance data. Historical state information is saved in the nagios logs and the mysql "nagios" database. Again, changing the retention rate of the rrds will not save space due to how rrds work. If you want to backup historical information, backup the rrds and the mysql "nagios" database.
Re: Nagios Xi Host/service performance data retention period
Posted: Mon Feb 10, 2014 4:36 pm
by nagarjuna
Hi Abrist,
Thank you very much, I got it perfectly.
You can close this, thanks again.