diff --git a/CHANGES.md b/CHANGES.md index 9aa6f1c8..25e57e88 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,8 @@ ([#1755](https://github.com/GENI-NSF/geni-portal/issues/1755)) * Install Jacks icon file VM-noTxt-centered ([#1756](https://github.com/GENI-NSF/geni-portal/issues/1756)) +* Make geni-fetch-aggmon request more data + ([#1762](https://github.com/GENI-NSF/geni-portal/issues/1762)) ## Installation Notes diff --git a/sbin/geni-fetch-aggmon.in b/sbin/geni-fetch-aggmon.in index 849fd4e7..4d8d4aa7 100644 --- a/sbin/geni-fetch-aggmon.in +++ b/sbin/geni-fetch-aggmon.in @@ -56,7 +56,7 @@ def getIsAvailableEvents(agg_list): # end = datetime.datetime.utcnow() now = datetime.datetime.now() end = now + datetime.timedelta(minutes=0) - start = end - datetime.timedelta(minutes=30) + start = end - datetime.timedelta(minutes=60) end_ts = int(time.mktime(end.timetuple()) * 1000) start_ts = int(time.mktime(start.timetuple()) * 1000) query = buildMonQuery(eventType=['is_available'],