POST /bhm/api/v1/configs/alert - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Health Monitoring Administration Guide

Locale
English (United States)
Product name
BlueCat Gateway
Version
22.1

Description

Create a new global alert configuration in BHM.

Parameters

Name Description
body Location: body

Type: application/json

Information about the alert in the following format:
{
    "field": "string",
    "severity": "string",
    "value": int
}
Where:
  • field: the name of the metric data type that you are configuring thresholds for. To retrieve names, use the corresponding GET method for alert configurations, or view AdministrationAlert Thresholds.
  • severity: The alert level you are changing the value for.
  • value: The new value for the alert level.
Example body:
{
    "field": "authqryrej",
    "severity": "critical",
    "value": 95
} 
Note: Global alert trigger settings can be configured using this method, or with dedicated method POST /bhm/api/v1/configs/alert_evaluating. If using this method, enter "global" as the severity value.

Responses

Status Description
Successful

Code: 200

Body:
{
    "message": "success"
}