OPNsense Forum

English Forums => 26.1 Series => Topic started by: snyke on January 31, 2026, 04:00:55 PM

Title: Initialization of RRD files fails
Post by: snyke on January 31, 2026, 04:00:55 PM
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

Title: Re: Initialization of RRD files fails
Post by: Patate on January 31, 2026, 05:37:45 PM
Hello
You can try that in ssh

# opnsense-patch 6933841

and reboot

Worked for me