Skip to content

Instantly share code, notes, and snippets.

@ryandotclair
Created December 15, 2015 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandotclair/22e77b79efb1da6cbe94 to your computer and use it in GitHub Desktop.
Save ryandotclair/22e77b79efb1da6cbe94 to your computer and use it in GitHub Desktop.
loop_update.py
for storage_group_id in storage_group_list:
# For each SG in a given VMAX, get SRDFA_MBSent metric, sum it up
# across yesterday and write it out to csv file.
payload = generate_payload(symmetrix_id, storage_group_id, unix_ym, unix_midnight)
headers = {
'content-type': 'application/json',
'accept': 'application/json'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment