GET – Trigger Instance
Request
GET https://{{ip}}/redfish/v1/TelemetryService/Triggers/{{trigger_instance}}
Content-Type: application/json
It displays a trigger instance which can be either a numeric or a discrete one.
Response
The response of the request will be in JSON format. The properties are mentioned in the following table.
Name | Type | Read only | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(OData Attributes) | Refer to OData Support | ||||||||||||||||||||||
Id(M) | String | True | Refer to Resource Type Definitions | ||||||||||||||||||||
Name(M) | String | True | |||||||||||||||||||||
Description | String | True | |||||||||||||||||||||
MetricType | String | True |
| ||||||||||||||||||||
TriggerActions | Array | True |
| ||||||||||||||||||||
NumericThresholds | Object | True | This property shall contain list of triggers to which a sensor reading will be compared.
| ||||||||||||||||||||
Links | Object | True | The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.
| ||||||||||||||||||||
DiscreteTriggerCondition | String | True |
| ||||||||||||||||||||
Status | Object | True | Refer to Resource Complex Types. | ||||||||||||||||||||
Metricproperties | Array | True |
| ||||||||||||||||||||
DiscreteTriggers | Array | True |
|
Name | Type | Read only | Description |
---|---|---|---|
Reading | String | False |
|
DwellTime | String | False |
|
Activation | String | False |
|
Request
GET https://{{ip}}/redfish/v1/TelemetryService/Triggers/ChassisIndicatorLED
Content-Type: application/json
Response
{
"@odata.context": "/redfish/v1/$metadata#TelemetryService.Triggers(Id,Status,Links,Name,MetricProperties,
DiscreteTriggerCondition,DiscreteTriggers,TriggerActions,MetricType,Description)",
"@odata.etag": "\"1583924493\"",
"@odata.id": "/redfish/v1/TelemetryService/Triggers/ChassisIndicatorLED",
"@odata.type": "#Triggers.v1_1_1.Triggers",
"Description": "TelemetryService-Triggers-ChassisIndicatorLED",
"DiscreteTriggerCondition": "Specified",
"DiscreteTriggers": [
{
"DwellTime": "PT30S",
"Name": "LED_Blinking",
"Severity": "Critical",
"Value": "Blinking"
}
],
"Id": "ChassisIndicatorLED",
"Links": [],
"MetricProperties": [
"/redfish/v1/Chassis/Self#/IndicatorLED"
],
"MetricType": "Discrete",
"Name": "Chassis_IndicatorLED",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TriggerActions": [
"RedfishEvent",
"LogToLogService"
]
}