Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Enterprise 3.9 RESTful API Guide

PDF

POST method for Triggers

This method creates a trigger resource.

Description
Creates a trigger resource.
Privilege
CHASSIS ADMINISTRATOR
HTTP response codes
201
Example response body—MetricType is "Discrete"
{
"Id": "PSUEvents",
"Name": "Trigger on when power cord & PSU removal",
"Description": "Trigger when an OEM event is raised",
"TriggerActions": [
"RedfishMetricReport"
],
"EventTriggers": [
"PSU0003"
],
"Links": {
"MetricReportDefinitions": [

{ "@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PSUMetrics" }
]
}
}

The property, EventTriggers (v1.1+)[] array (string, null) read-write, contains an array of message IDs that specify when a trigger condition is met based on an event. A trigger condition is met when the service generates an event containing a MessageID within this array. If this resource is configured for event-based triggers, it must not contain the property, MetricType. The pattern is -- ^[A-Za-z0-9]+ .\d+. \d+.[A-Za-z0-9.]+$

Example response body—MetricType is "Numeric"
{
    "Id": "EyeofTheTigerTriggerNumeric",
    "Name": "Trigger on PSUInputVoltage",
    "MetricType": "Numeric",
    "TriggerActions": [
        "RedfishMetricReport"
    ],
     "NumericThresholds": {
        "UpperCritical": {
            "Reading": 210,
            "Activation": "Increasing",
            "DwellTime": "PT0.001S"
         },
        "UpperWarning": {
             "Reading": 209,
             "Activation": "Increasing",
             "DwellTime": "PT0.004S"
         } ,
         "LowerCritical": {
             "Reading": 205,
             "Activation": "Decreasing",
             "DwellTime": "PT0.001S"
         },
         "LowerWarning": {
             "Reading": 206,
             "Activation": "Decreasing",
             "DwellTime": "PT0.004S"
         }
     },
     "MetricIds": [ "PSUInputVoltage"],
    "Links": {
        "MetricReportDefinitions": [
        {
           "@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PSUMetrics"
        }
        ]
    }
}

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: <>()\