Dell iDRAC Telemetry Reference Guide

PDF

Enabling Metric Report Definition Using Redfish

The following explains how to enable a Metric Report Definition and configure its recurrence interval using Redfish APIs. It includes example PATCH commands for activating telemetry reports and setting custom reporting intervals.

The below URL is applicable for both IDRAC9 and iDRAC10.
Command: PATCH
URI: /redfish/v1/TelemetryService/MetricReportDefinitions/<report>
Header: content-type application/json
Body: {"MetricReportDefinitionEnabled": true}
e.g. <report> = CPUSensor
For example:
curl -s -k -u <user>:<password> -X PATCH https://<IDRAC_IP>/redfish/v1/TelemetryService/MetricReportDefinitions/CPUSensor -H 'Content-Type: application/json' -d '{" MetricReportDefinitionEnabled": true}'
To configure a report recurrence interval if different from default (for example, 2 minutes):
Command: PATCH
URI: /redfish/v1/TelemetryService/MetricReportDefinitions/<report>
Header: content-type application/json
Body: {“Schedule”: {"RecurrenceInterval": "PT0H2M0S"}}
For example:
curl -s -k -u <user>:<password> -X PATCH https://<IDRAC_IP>/redfish/v1/TelemetryService/MetricReportDefinitions/CPUSensor -H 'Content-Type: application/json' -d ' {“Schedule”: {"RecurrenceInterval": "PT0H2M0S"}}' 

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\