How to change the amount of data stored in pnp4nagios

nagiosrrdtool

I installed pnp4nagios and all is fine, just want change a conf but not know how.

Here one can read

Using the defaults allows to store the data with a resolution of one minute for the last two days, five minutes resolution for ten days, 30 minutes resolution for 90 days and 6 hours resolution for four years.

Where are such defaults and how change them to allows to store the data with a resolution of one minute for the last seven days?

Best Answer

Depends on your distribution but I think you want to look at the rra.cfg.

Change

 RRA:AVERAGE:0.5:1:2880

to

RRA:AVERAGE:0.5:1:10080

Please note this defines how much data is stored, the config.php is where the defaults are defined on how it's displayed. Please see this page for more detail.