Monitoring IMM (Intersight Managed Mode) UCS Instance Using APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:13 AM
I am trying /api/v1/telemetry/TimeSeries for vnic_stats, vhba_stats, ether_port_stats, and fc_port_stats to retrieve metrics (BytesRx, BytesTx, ErrorsRx, ErrorsTx, DroppedRx, DroppedTx for vNICs/vHBAs; RxBytes, TxBytes, RxErrors, TxErrors, RxDiscards, TxDiscards for ports) but currently getting null response like below.
{ "timestamp": "2025-05-14T12:12:09.594Z",
"result": { "TxDrops": null, "RxDrops": null, "RxErrors": null, "TxErrors": null, "RxBytes": null, "TxBytes": null } } ]
https://intersight.com/apidocs/apirefs/All/api/v1/telemetry/TimeSeries/post/
here are the API details
API : /api/v1/telemetry/TimeSeries
Method: POST
Request Body:
{"queryType":"timeseries","dataSource":"vnic_stats","granularity":"all","aggregations":[{"type":"longSum","name":"RxBytes","fieldName":"RxBytes"},{"type":"longSum","name":"TxBytes","fieldName":"TxBytes"},{"type":"longSum","name":"RxErrors","fieldName":"RxErrors"},{"type":"longSum","name":"TxErrors","fieldName":"TxErrors"},{"type":"longSum","name":"RxDrops","fieldName":"RxDrops"},{"type":"longSum","name":"TxDrops","fieldName":"TxDrops"}],"filter":{"type":"in","dimension":"ComputeBladeMoid","values":["67ea9a4576752d3401838a9d","67ea9ab876752d340184482d","67ea9abb76752d3401845052"]},"intervals":["2025-05-01T10:48:07.774Z/2025-05-02T10:48:07.774Z"]}
can anyone help me with this? Also is there any alternative solution to monitor IMM UCS Instance to fetch above metrics?? We already have https://github.com/paregupt/ucs_traffic_monitor this pipeline in place for UCSM but need something similar for IMM.
- Labels:
-
General
