rrdtool error after upgrade to 26.1

Started by Vincent Chen, Today at 01:38:14 AM

Previous topic - Next topic
Today at 01:38:14 AM Last Edit: Today at 01:44:02 AM by Vincent Chen
I just do a fresh 26.1 install and uploaded my configuration. It works
but has some issues.

1. I see a lot of error like below, how can I fix it

/usr/local/opnsense/scripts/health/updaterrd.php: The command </usr/local/bin/rrdtool create '/var/db/rrd/ovpns4-traffic.rrd' --step 0 DS:'inpass:COUNTER:120:0:2500000000' DS:'outpass:COUNTER:120:0:2500000000' DS:'inblock:COUNTER:120:0:2500000000' DS:'outblock:COUNTER:120:0:2500000000' DS:'inpass6:COUNTER:120:0:2500000000' DS:'outpass6:COUNTER:120:0:2500000000' DS:'inblock6:COUNTER:120:0:2500000000' DS:'outblock6:COUNTER:120:0:2500000000' RRA:'AVERAGE:0.5:1:1200' RRA:'AVERAGE:0.5:5:720' RRA:'AVERAGE:0.5:60:1860' RRA:'AVERAGE:0.5:1440:2284'> returned exit code 1 and the output was "ERROR: step size: value must be positive"

2. Export old rule give me a csv but nothing happen when import it.

My bad, I just found out I need to use pull down to select interface and rules are all there.
Maybe a message box after import will be better. If this happen to you, check the pull down
first.

Thanks for your help,

Today at 04:43:22 AM #1 Last Edit: Today at 05:39:04 AM by Jackknife4782
Quote from: Vincent Chen on Today at 01:38:14 AM/usr/local/opnsense/scripts/health/updaterrd.php: The command </usr/local/bin/rrdtool create '/var/db/rrd/ovpns4-traffic.rrd' --step 0 DS:'inpass:COUNTER:120:0:2500000000' DS:'outpass:COUNTER:120:0:2500000000' DS:'inblock:COUNTER:120:0:2500000000' DS:'outblock:COUNTER:120:0:2500000000' DS:'inpass6:COUNTER:120:0:2500000000' DS:'outpass6:COUNTER:120:0:2500000000' DS:'inblock6:COUNTER:120:0:2500000000' DS:'outblock6:COUNTER:120:0:2500000000' RRA:'AVERAGE:0.5:1:1200' RRA:'AVERAGE:0.5:5:720' RRA:'AVERAGE:0.5:60:1860' RRA:'AVERAGE:0.5:1440:2284'> returned exit code 1 and the output was "ERROR: step size: value must be positive"

Also seeing system-->logs-->general filled with this error after 26.1_4.

Has something to do with Reporting.  I disabled and re-enabled local gathering of statistics and RRD graphing backend, but now In Health Reporting it says:  "Local data collection is not enabled. Enable it in Reporting Settings page".  It won't re-enable health monitoring no matter what I select in Reporting Settings.

Never mind.  Found the related thread, https://forum.opnsense.org/index.php?topic=50657.0 and applied the patch.  All works great now.  Thanks

Quote from: Jackknife4782 on Today at 05:54:39 AMNever mind.  Found the related thread, https://forum.opnsense.org/index.php?topic=50657.0 and applied the patch.  All works great now.  Thanks

Thanks for the information. I will wait for next update.