The default RRA stores primary data points for a year. No more RRA can be added. The created RRD is for an acquisition period much less than a year, typically about some days, a few weeks or months.
This constructor neads an argument named step which is the period of acquisition. The natural step units are day(d), week(w) and month(m), although second(s), minute(m), hour(h) and quarter(q) are allowed.
step
$creator = RRDTool::Creator::YearPDP(-step => "1w") ;
To install RRDTool::Creator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RRDTool::Creator
CPAN shell
perl -MCPAN -e shell install RRDTool::Creator
For more information on module installation, please visit the detailed CPAN module installation guide.