Rrd4j - problem with configuration

Hi everyone,

I am using rrd4j persistence at it seems to work more or less. However, it doesn’t save the values as I want it to for the two items I defined (the two items belong to two different physical devices).
My config looks like this:

Strategies {
    // for rrd charts, we need a cron strategy
        everyHour       : "0 0 * * * ?"
        everyMinute     : "0 * * * * ?"
        // if no strategy is specified for an Item entry below, the default lis$
        default = everyUpdate

Items {
    // persist items on every change and every hour
    temp_door_terrace : strategy = everyUpdate, everyHour
    humidity_multisensor6 : strategy = everyUpdate, everyHour

But the charts I create look like this

more or less the same for humidity…

Does someone know what’s wrong with my config?

Thank you!

Rrd4j needs a strategy “every minute” in order to function correctly.

I’ll second @opus

According to the docs rrd4j MUST include an everyMinute strategy


OK, thank you very much. Actually I’ve seen that but I thought this strategy has to be defined and not used. That is why I defined it without using it… :sweat_smile:

I have changed the docs to highlight the fact that the everyMinute strategy MUST be used
Don’t worry, you are not the first one to ask this question

When you get stuck, please search the forum, before asking a new question. Your problem has probably been answered before.


Good luck

1 Like