
Dell iDRAC Telemetry Reference Guide
Updating a Trigger
To update a Trigger:
Command: PATCH
URI: /redfish/v1/TelemetryService/Triggers/<trig_id>
BODY: {
"TriggerActions": [
"RedfishMetricReport"
],
"TriggerActions@Redfish.AllowableValues": [
"TriggerActions@Redfish.AllowableValues": [
"RedfishMetricReport"
],
"EventTriggers": [
"iDRAC.1.6.CPU0004",
"iDRAC.1.6.CPU0700",
"iDRAC.1.6.CPU0702"
],
"Links": {
"MetricReportDefinitions": [
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerMetrics"
}
]
}
}'
Header: content-type application/json
For Example:
curl -s -k -u <user>:<password> -X PATCH https://<IDRAC_IP>/redfish/v1/TelemetryService/Triggers/CPUTempHighWarningTrigger -H 'Content-Type: application/json' -d ' {
"TriggerActions": [
"RedfishMetricReport"
],
"TriggerActions@Redfish.AllowableValues": [
"TriggerActions@Redfish.AllowableValues": [
"RedfishMetricReport"
],
"EventTriggers": [
"iDRAC.1.6.CPU0004",
"iDRAC.1.6.CPU0700",
"iDRAC.1.6.CPU0702"
],
"Links": {
"MetricReportDefinitions": [
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerMetrics"
}
]
}
}'
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerMetrics"
}
]
}
}'
A successful PATCH operation shall provide a response with Status Code -200 OK. In case of failures it supports appropriate EEMI messages with Status Codes 400, 405.
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: <>()\