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!!!
about rrd file some questions
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: about rrd file some questions
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.
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.
Re: about rrd file some questions
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
@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.