On 2022-01-02 04:17:35 +0100, Vincent Lefevre wrote: > But > > rrdtool fetch cpuload.rrd MIN -s -1080000 > > also outputs values. Selected step is 300, and most values > (for the oldest timestamps) are NaN. Instead, it should fail.
In case you're wondering why I try to read values associated with a CF that has not been declared with "rrdtool create", this is because this is done via a Perl script on several .rrd files, via the RRDs Perl module. For some of these files, MIN has been declared, but not all of them, and the script doesn't know which CFs are used. So it tries all of them. If a CF isn't used, it expects an error so that it can skip it instead of getting unexpected results. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)