Page 1 of 1
about rrd file some questions
Posted: Fri Dec 29, 2017 12:19 am
by Olin
hi,
I have some questions about rrd file in nagios xi:
1.We store monitoring data into RRD file, what is maximum support size for RRD file?
2.How longer I can probably store the data?
3.can use some commands to see the RRD file some information?
tks!!!
Re: about rrd file some questions
Posted: Fri Dec 29, 2017 11:01 am
by npolovenko
Hello,
@Olin.
1. Nagios doesn't cap the size of the RRD database, as far as I know. However, you can adjust the data retention period. Here's the path to the config file: nano
/usr/local/nagios/etc/pnp/rra.cfg
However, before you do anything I recommend to watch the video on this page:
https://support.nagios.com/kb/article/n ... s-772.html
2. As of right now, it can go up to 4 years(can be modified in the config file). A really cool thing about RRD's is that they get averaged out and compressed to save up the storage space. So the older the data the more averaged out it gets. That way the database size doesn't exponentially increase.
3. Do you want to see the contents of the RRD file? You could use rrdtool dump name_of_the_rrd_file.
https://oss.oetiker.ch/rrdtool/doc/rrddump.en.html This will write out the contents of the RRD file in readable XML format.
Re: about rrd file some questions
Posted: Tue Jan 02, 2018 9:43 pm
by Olin
OK, I see , thank you very much!
npolovenko wrote:Hello,
@Olin.
1. Nagios doesn't cap the size of the RRD database, as far as I know. However, you can adjust the data retention period. Here's the path to the config file: nano
/usr/local/nagios/etc/pnp/rra.cfg
However, before you do anything I recommend to watch the video on this page:
https://support.nagios.com/kb/article/n ... s-772.html
2. As of right now, it can go up to 4 years(can be modified in the config file). A really cool thing about RRD's is that they get averaged out and compressed to save up the storage space. So the older the data the more averaged out it gets. That way the database size doesn't exponentially increase.
3. Do you want to see the contents of the RRD file? You could use rrdtool dump name_of_the_rrd_file.
https://oss.oetiker.ch/rrdtool/doc/rrddump.en.html This will write out the contents of the RRD file in readable XML format.
Re: about rrd file some questions
Posted: Wed Jan 03, 2018 11:56 am
by npolovenko
@Olin, Not a problem. I will go ahead and close this thread as resolved.