
Dell iDRAC Telemetry Reference Guide
Creating subscriptions
To create a subscription, the client sends an HTTP POST request to the iDRAC Event Service. The request includes the following parameters:
| Parameters | Decsription |
|---|---|
| Destination | The IP address and port number where the client will receive the Telemetry reports. |
| EventFormatType | The type of event format, which is set to "MetricReport" for Telemetry reports. |
| Context | A name for the subscription. |
| Protocol | The protocol used to receive the reports, which is set to "Redfish". |
| EventTypes | The types of events to receive, which is set to ["MetricReport"] for Telemetry reports. |
| SubscriptionType | The type of subscription, which is set to "RedfishEvent". |
| MetricReportDefinitions | An array of metric report definitions to receive, if list not specified all enabled reports will be received. |
The following example create a new subscription with subscription id. To get the subscription id, see Viewing Current Subscriptions where you can view all the subscriptions.
Command: POST
URI: https://<IDRAC_IP>/redfish/v1/EventService/Subscriptions
Body: {
"Destination": "https://<listener ip:port>”,
"EventFormatType": "MetricReport",
"Context": "TelmetryTest",
"Protocol": "redfish",
"EventTypes": ["MetricReport"],
"SubscriptionType":"redfishEvent"
}
Header: content-type application/json
For example:
curl -s -k -u <user>:<password> -X POST “https://<IDRAC_IP>/redfish/v1/EventService/Subscriptions -H 'Content-Type: application/json' -d
'{
"Destination": "https://<listener ip:port>",
"EventFormatType": "MetricReport",
"Context": "TelmetryTest",
"Protocol": "redfish",
"EventTypes": ["MetricReport"],
"SubscriptionType":"redfishEvent",
"MetricReportDefinitions":[{ "@odata.id":"/redfish/v1/TelemetryService/MetricReportDefinitions/",
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/"}]}'”
The details of each parameter can be found here Parameter details.
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: <>()\