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

BlueCat Health Monitoring Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1

Description

Create or update a server specific alert configuration in BHM.

Parameters

Name Description
server_name Location: path

Type: string

The name of the server that you would like to create or update server specific alert threshold information on.

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 GET method for global 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
} 

Responses

Status Description
Successful

Code: 200

Body:
{
    "message": "success"
}