Update a Metric Threshold

put

/api/metric/Thresholds/{id}

Updates the metric threshold that matches the specified ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Abnormal Profile ID used by Abnormal Thresholds only Allowed Values: - 0 => None
    Example: 0
  • Operator Allowed Values: - == - != - < - > - <= ->=
    Example: ==
  • Severity Allowed Values: - 0 = Normal - 1 = Info - 2 = Unknown - 3 = Minor - 4 = Major - 5 = Critical
    Example: 5
  • Value to test for
    Example: 0
  • (Trend Prediction Only) Relative time from now in a friendly text format
    Example:
  • If Type is set to "Standard" and CheckLocation is set to "Threshold Engine", how often the threshold is being checked. This should not be less than the PollTime. It must be a combination of a numerical value and a duration, which must be set to one of the following: - s for seconds - m for minutes - h for hours - d for days
    Example: 5m
  • String representing a metric stored in influx
    Example: metrictype_Latency
  • Threshold Message
    Example: Performance threshold violation: Device Down
  • String of metric being collected
    Example: availability
  • If Type is set to "Standard" and CheckLocation is set to "Threshold Engine", what offset to apply to the time range, e.g "Go back 5 minutes when checking the threshold to ensure most recent poll data is considered". 0 minutes means no offset. It must be a combination of a numerical value and a duration, which must be set to one of the following: - s for seconds - m for minutes - h for hours - d for days
    Example: 0m
  • Allowed Values: - 0 => Disabled - 1 => Enabled
    Example: 1
  • Threshold Function ID
    Example: 1
  • Threshold Name
    Example: Device Down
  • Allowed Values: - 1 => Availability - Standard - 2 => Performance Utilization - Standard - 3 => Performance Value - Standard - 10 => Trend % Daily - Advanced - 14 => Abnormal Daily - Advanced - 16 => Missing Data - Advanced - 20 => Trend Prediction Availability - Advanced - 21 => Trend Prediction Performance Utilization - Advanced - 22 => Trend Prediction Performance Value - Advanced
    Example: 1
  • Unless Type is set to "Abnormal", the period of time where data points will be retrieved and evaluated. This must be a combination of a numerical value and a duration, which must be set to one of the following:- - s for seconds - m for minutes - h for hours - d for days
    Example: 15m
  • Warning Operator
    Example:
  • Severity Allowed Values: - 0 = Normal - 1 = Info - 2 = Unknown - 3 = Minor - 4 = Major - 5 = Critical
    Example: 3
  • Value to test for
    Example: 0
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulUpdateOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The updated metric threshold.
Show Source
Nested Schema : metricThresholdsRead
Type: object
Show Source
  • Abnormal Profile ID used by Abnormal Thresholds only Allowed Values: - 0 => None
    Example: 0
  • Abnormal Profile Name
    Example: None
  • Location of threshold checking (Standard only) Allowed Values: - 1 => Threshold Engine - 2 => Application
    Example: 1
  • Check Location Name
    Example: Threshold Engine
  • Operator Allowed Values: - == - != - < - > - <= ->=
    Example: ==
  • Severity Allowed Values: - 0 = Normal - 1 = Info - 2 = Unknown - 3 = Minor - 4 = Major - 5 = Critical
    Example: 5
  • Value to test for
    Example: 0
  • (Trend Prediction Only) Relative time from now in a friendly text format
    Example:
  • If Type is set to "Standard" and CheckLocation is set to "Threshold Engine", how often the threshold is being checked. This should not be less than the PollTime. It must be a combination of a numerical value and a duration, which must be set to one of the following: - s for seconds - m for minutes - h for hours - d for days
    Example: 5m
  • String representing a metric stored in influx
    Example: metrictype_Latency
  • Threshold Message
    Example: Performance threshold violation: Device Down
  • String of metric being collected
    Example: availability
  • Metric Type Name
    Example: Latency
  • If Type is set to "Standard" and CheckLocation is set to "Threshold Engine", what offset to apply to the time range, e.g "Go back 5 minutes when checking the threshold to ensure most recent poll data is considered". 0 minutes means no offset. It must be a combination of a numerical value and a duration, which must be set to one of the following: - s for seconds - m for minutes - h for hours - d for days
    Example: 0m
  • Status
    Example: Enabled
  • Status Icon
    Example: OrbGreen.png
  • Allowed Values: - 0 => Disabled - 1 => Enabled
    Example: 1
  • Threshold Function ID
    Example: 1
  • Threshold Function Name
    Example: Mean
  • Threshold ID
    Example: 1
  • Threshold Name
    Example: Device Down
  • Allowed Values: - 1 => Availability - Standard - 2 => Performance Utilization - Standard - 3 => Performance Value - Standard - 10 => Trend % Daily - Advanced - 14 => Abnormal Daily - Advanced - 16 => Missing Data - Advanced - 20 => Trend Prediction Availability - Advanced - 21 => Trend Prediction Performance Utilization - Advanced - 22 => Trend Prediction Performance Value - Advanced
    Example: 1
  • Threshold Type Name
    Example: Standard
  • Unless Type is set to "Abnormal", the period of time where data points will be retrieved and evaluated. This must be a combination of a numerical value and a duration, which must be set to one of the following:- - s for seconds - m for minutes - h for hours - d for days
    Example: 15m
  • Warning Operator
    Example:
  • Severity Allowed Values: - 0 = Normal - 1 = Info - 2 = Unknown - 3 = Minor - 4 = Major - 5 = Critical
    Example: 3
  • Value to test for
    Example: 0

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top