EasyManua.ls Logo

HP HPE VAN SDN Controller 2.7 - Page 225

HP HPE VAN SDN Controller 2.7
231 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Example 16 Returned data for a period results
Summarizing the returned data for a period results in (generally) larger values for the metrics
themselves and larger values for the milliseconds spanned.
Curl equivalent command
curl --noproxy <controller_ip> -X GET --header
"X-Auth-Token:<token>" --fail -ksSfL --url
"https://<controller_ip>:8443/sdn/v2.0/metrics/<metric_uid>/
values?start=<start_time>&interval=<interval_value>"
Curl output
for app_id=com.hp.sdn,
metric_uid=431b746e-e62e–4874–a801–b1438eaac635,start=2014–09–23+18:00,interval=5
{"metric_values":{"uid":"431b746e-e62e-4874-a801-b1438eaac635","type":"GAUGE","datapoint_count":6,"datapoints":
[{"update_time":"Tue Sep 23 18:03:55 PDT
2014","milliseconds_span":300000,"last":3.274097568E8},{"update_time":
"Tue Sep 23 18:08:55 PDT 2014","milliseconds_span":300000,"last":3.133927072E8},{"update_time":
"Tue Sep 23 18:13:55 PDT 2014","milliseconds_span":300000,"last":2.154562624E8},{"update_time":
"Tue Sep 23 18:18:55 PDT 2014","milliseconds_span":300000,"last":4.192128832E8},{"update_time":
"Tue Sep 23 18:23:55 PDT 2014","milliseconds_span":300000,"last":3.864813136E8},{"update_time":
"Tue Sep 23 18:27:55 PDT 2014","milliseconds_span":240000,"last":3.847236E8}]}}
Result
225

Table of Contents

Related product manuals