Ad Widget

Collapse

JSON data - keep latest values only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djmuk
    Junior Member
    • Dec 2017
    • 20

    #1

    JSON data - keep latest values only

    I have an agent that returns JSON formatted data - it is a list of backup jobs & their results.

    I want to collect this and store it - it won't be pretty as it will be storing the results disconnected from each other (EG backup run time as one varable, volume of data as another, success/failure as anther etc) but at least I will have the data..

    The problem is that the JSON contains ALL the results since 'day 1' (or at least the last 1000) so every poll will return all of the previous data points as well.

    is it possible for zabbix to ignore previously collected data and only enter the new data points?

    If I process the data on the source then how about if I used trappertype variables and timestamped the data - would it ignore the duplicated timestamps?

    thanks
    David
Working...