Hello Everyone,
I am trying to understand a problem I have found today.
I am using a discovery rule which uses a custom UserParameter and returns a JSON Data every 5 minutes.
Furthermore I collect data with LLD Macros and use Script Item in order to show values of JSON's keys. Item Prototypes have 5min of interval.

Well, when I check last data... I see that in the page "last value" item respects interval (every 5 min) BUT its value doesn't change for 1 hour. After 1 hour it shows the right last value (and so on), but item gets right value every 5 minutes (as you can see in the upper image).
For example I have an item that shows 122 as its value and I can see it in the last value page too. During one hour this value changes twelve times from 122 to X Value (because 60min/5min = 12) and I can see it in the ITEM PAGE (parameters field), however if I check latest data page, I see 120 for one hour (value of the same item) and after this hour I get the 12th value of the previous hour (for the next hour).
I am trying to figure out a solution but don't know what to do, please if you have an idea feel free to share here!
Thank you!
I am trying to understand a problem I have found today.
I am using a discovery rule which uses a custom UserParameter and returns a JSON Data every 5 minutes.
Furthermore I collect data with LLD Macros and use Script Item in order to show values of JSON's keys. Item Prototypes have 5min of interval.
Well, when I check last data... I see that in the page "last value" item respects interval (every 5 min) BUT its value doesn't change for 1 hour. After 1 hour it shows the right last value (and so on), but item gets right value every 5 minutes (as you can see in the upper image).
For example I have an item that shows 122 as its value and I can see it in the last value page too. During one hour this value changes twelve times from 122 to X Value (because 60min/5min = 12) and I can see it in the ITEM PAGE (parameters field), however if I check latest data page, I see 120 for one hour (value of the same item) and after this hour I get the 12th value of the previous hour (for the next hour).
I am trying to figure out a solution but don't know what to do, please if you have an idea feel free to share here!
Thank you!

Comment