Initialization of RRD files fails

Started by snyke, January 31, 2026, 04:00:55 PM

Previous topic - Next topic
Hi,

fresh install of 26.1_4, I did some configuration and enabled data gathering for RRDs.

In the syslog I find tons of:

Quote/usr/local/opnsense/scripts/health/updaterrd.php: The command </usr/local/bin/rrdtool create '/var/db/rrd/ntpd.rrd' --step 0 DS:'offset:GAUGE:120:-1000:1000' DS:'sjit:GAUGE:120:0:1000' DS:'cjit:GAUGE:120:0:1000' DS:'wander:GAUGE:120:0:1000' DS:'freq:GAUGE:120:0:1000' DS:'disp:GAUGE:120:0:1000' RRA:'MIN:0.5:1:1200' RRA:'MIN:0.5:5:720' RRA:'MIN:0.5:60:1860' RRA:'MIN:0.5:1440:2284' RRA:'AVERAGE:0.5:1:1200' RRA:'AVERAGE:0.5:5:720' RRA:'AVERAGE:0.5:60:1860' RRA:'AVERAGE:0.5:1440:2284' RRA:'MAX:0.5:1:1200' RRA:'MAX:0.5:5:720' RRA:'MAX:0.5:60:1860' RRA:'MAX:0.5:1440:2284'> returned exit code 1 and the output was "ERROR: step size: value must be positive"

Basically no single RRD is created, of course creation with a stepsize of 0 fails.

Is this a known bug or a feature to save some disk space? ;-)

I don't think/see the bit of configuration I did on top of the fresh install caused this.

After I created all of the databases with a (guessed) stepsize of 60 the errors stopped.

Best wishes


Hello
You can try that in ssh

# opnsense-patch 6933841

and reboot

Worked for me

 opnsense-patch 6933841 worked for me as well on 261_4 stopping frequent syslog messages about step size.

Quote from: Patate on January 31, 2026, 05:37:45 PMHello
You can try that in ssh

# opnsense-patch 6933841

and reboot

Worked for me

Thanks for the patch even I was facing the same issue got resolved after installing the patch.

Will be fixed in 26.1.1 this week for everyone.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT