Still can’t get rid of this problem
> 2016-12-28 04:10:00.049 [ERROR] [.o.m.r.i.engine.ExecuteRuleJob] - Error during the execution of rule Gaz 10min
> 2016-12-28 05:00:00.117 [ERROR] [.o.m.r.i.engine.ExecuteRuleJob] - Error during the execution of rule Gaz Godz
> 2016-12-28 07:50:00.077 [ERROR] [.o.m.r.i.engine.ExecuteRuleJob] - Error during the execution of rule Gaz 10min
> 2016-12-28 09:20:00.052 [ERROR] [.o.m.r.i.engine.ExecuteRuleJob] - Error during the execution of rule Gaz 10min
according habmin:
Gaz_10min:
03:56:00 28 Dec 2016 0
04:00:00 28 Dec 2016 0
04:04:00 28 Dec 2016 0
04:08:00 28 Dec 2016 0
04:12:00 28 Dec 2016 0
…
04:48:00 28 Dec 2016 0.016
04:48:00 28 Dec 2016 0.016
04:52:00 28 Dec 2016 0.0166666666666
04:56:00 28 Dec 2016 0.017
05:00:00 28 Dec 2016 0.0165
…
07:40:00 28 Dec 2016 0.014
07:44:00 28 Dec 2016 0.014
07:48:00 28 Dec 2016 0.014
07:52:00 28 Dec 2016 0.014
…
09:08:00 28 Dec 2016 0.009
09:12:00 28 Dec 2016 0.009
09:16:00 28 Dec 2016 0.009
09:20:00 28 Dec 2016 0.009
09:24:00 28 Dec 2016 0.009
and Gaz:
03:46:00 28 Dec 2016 212276
04:00:00 28 Dec 2016 212276
04:14:00 28 Dec 2016 212276.5714285
…
04:42:00 28 Dec 2016 212318
04:56:00 28 Dec 2016 212340.6428571
05:10:00 28 Dec 2016 212362.5714285
…
07:30:00 28 Dec 2016 212562.1428571
07:44:00 28 Dec 2016 212582.1538461
07:58:00 28 Dec 2016 212999.6428571
…
09:08:00 28 Dec 2016 212672.0714285
09:22:00 28 Dec 2016 212684.166666
Rules are:
> rule “Gaz 10min”
> when
> Time cron “0 0/10 * * * ?”
> then
> if (Gaz.updatedSince(now.minusMinutes(10),“rrd4j”))
> Gaz_10min.postUpdate(Gaz.deltaSince(now.minusMinutes(10),“rrd4j”)/1000)
> end
rule "Gaz Godz"
when
Time cron "0 0 * * * ?"
then
if (Gaz.updatedSince(now.minusMinutes(60),"rrd4j"))
Gaz_Godz.postUpdate(Gaz.deltaSince(now.minusMinutes(60),"rrd4j")/1000)
end
How is this rrd4j works ?
Gaz is updated every 300s from onewire counter, then every 10minutes and every hour rule is executed. Randomly I got above errors.
Any ideas why ?