about rrd file some questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

about rrd file some questions

Post 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!!!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: about rrd file some questions

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

Re: about rrd file some questions

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: about rrd file some questions

Post by npolovenko »

@Olin, Not a problem. I will go ahead and close this thread as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked