Ad Widget

Collapse

Summarise results for history method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Greg
    Junior Member
    • Jul 2016
    • 1

    #1

    Summarise results for history method

    Hey,

    Im new to all things Zabbix so bear with me .
    I am currently playing around with some of the APIs Zabbix has to offer. currently I am looking into the history.get method.

    When interacting with this API in particular, I am passing through two date values; time_till(1467622800) and time_from (1467331200).
    Each object that gets returned has a difference of 1 minute (clock); but if I specify two dates that are a week in difference, my result of objects is rather staggering!

    So my question is; is there a way to summarise the results?

    I've looked into the documentation but I might have over looked something in particular hence why I am asking this question. Obviously I can limit the results to lets say 20 so it only returns the first 20 objects - but this will only display the first 20 from the time_from date.

    Is there a way to see 20 results that have been summarised based upon the two dates?

    Any feedback is much appreciated! Thank you
Working...