监控服务操作
更新时间:2024-06-06
监控服务概述
BOS监控服务基于 云监控BCM 来进行数据统计、展示、报警,提供系统的基础数据、流量数据、请求数据、图像处理数据等方面的监控数据指标。BOS监控指标分为基础数据、流量数据、请求数据、数据处理、服务监控,详见监控指标。
基本功能
云监控BCM为对象存储提供以下功能来实现监控与报警功能。
功能 | 能力 | 主要功能 |
---|---|---|
监控信息 | 展示产品当前状态 | 提供基本信息以及各项指标监控数据 |
报警策略 | 提供报警功能与配置策略 | 支持通过多种通知渠道来对对象存储BOS实施监控和报警,用户可自定义配置报警策略 |
报警历史 | 展示历史报警记录 | 查看指定时间段报警历史以及统计该时间段异常数据 |
使用监控服务
监控具体信息可从云监控BCM的对象存储BOS bucket列表监控相关信息,包括监控信息、报警策略、报警历史。
- 登录云监控BCM控制台。
- 在对象存储BOS的bucket列表中单击bucket名称。
- 进入BOS对象存储监控页面,查看用户监控详情。
- 基础数据
监控维度 | 监控项说明 |
---|---|
标准存储-多AZ | 该监控项下包含标准存储-多AZ占用空间大小、标准存储-多AZ文件数量、标准存储-多AZ读请求次数、标准存储-多AZ写请求次数、标准存储-多AZ读错误请求个数、标准存储-多AZ写错误请求个数、帐号下标准存储-多AZ总占用空间、帐号下标准存储-多AZ总文件数量 |
标准存储 | 该监控项下包括标准存储占用空间大小、标注存储文件数量、标准存储读请求次数、标准存储写请求次数、标准存储读错误请求次数、标准存储写错误请求次数 |
低频存储-多AZ | 该监控项下包括低频存储-多AZ占用空间大小、低频存储-多AZ文件数量、低频存储-多AZ读请求次数、低频存储-多AZ写请求次数、低频存储-多AZ读错误请求个数、低频存储-多AZ写错误请求个数、低频存储-多AZ数据取回大小、帐号下低频存储-多AZ总占用空间、帐号下低频存储-多AZ总文件数量、低频存储-多AZ最小存储数据 |
低频存储 | 该监控项下包括低频存储占用空间大小、低频存储文件数量、低频存储读请求次数、低频存储写请求次数、低频存储读错误请求次数、低频存储写错误请求次数、低频存储数据取回大小、低频存储最小存储数据 |
冷存储 | 该监控项下包括冷存储占用空间大小、冷存储文件数量、冷存储读请求次数、冷存储写请求次数、冷存储读错误请求次数、冷存储写错误请求次数、冷存储数据取回大小、冷存储最小存储数据 |
归档存储 | 该监控项下包括归档存储占用空间大小、归档存储文件数量、归档存储读请求次数、归档存储写请求次数、归档存储读错误请求次数、归档存储写错误请求次数、归档存储标准取回字节数、归档存储最小存储数据、归档存储加急取回字节数、归档存储延缓取回字节数、归档存储加急取回次数、归档存储标准取回次数、归档存储延缓取回次数 |
智能存储 | 该监控项下包括标准转低频存储容量、低频转冷存储容量、冷存储上浮低频存储容量、低频上浮标准存储容量 |
- 流量数据
监控维度 |
---|
外网读取量 |
外网写入量 |
每秒外网写数据总量 |
每秒外网读数据总量 |
每秒内网读数据量 |
每秒内网写数据量 |
CDN回源流量 |
跨区域复制流出流量 |
跨区域复制流入流量 |
同区域复制流出流量 |
同区域复制流入流量 |
复制总流出流量 |
复制总流入流量 |
- 请求数据
监控维度 | 监控项说明 |
---|---|
读/写/删除统计 | 该监控项下包含每秒删除请求总次数、每秒读请求总次数、每秒写请求总次数 |
HttpCode统计 | 该监控项下包含返回状态码为2XX的请求数、返回状态码为3XX的请求数、返回状态码为4XX的请求数、返回状态码为5XX的请求数、返回状态码为408的请求数、返回状态码为499的请求数 |
请求延迟 | 该监控项下包含BOS后端平均处理时间、BOS后端平均写处理时间、BOS后端平均读处理时间、后端处理时间过长(1s)的写请求数、后端处理时间过长(1s)的请求总数、后端处理时间过长(1s)的读请求数、后端处理时间过长(5s)的请求总数、后端处理时间过长(5s)的写请求数、后端处理时间过长(5s)的读请求数 |
api统计 | 该监控项下包含Get Object请求总次数、List Object请求总次数、Head Object请求总次数、Put Object请求总次数、DeleteObject请求总次数、客户端断链请求占比、客户端超时请求占比 |
限流监控统计 | 该监控项下包含触发软限流总次数、触发硬限流总次数、触发限流警告总次数 |
- 图像处理数据
监控维度 |
---|
图像基础处理用量 |
基础图像处理调用次数 |
Heic压缩(800x600以下尺寸) |
Heic压缩(800x600以上尺寸) |
Webp压缩(800x600以下尺寸) |
Webp压缩(800x600以上尺寸) |
视频截帧调用次数 |
获取视频元信息调用次数 |
- 服务监控总览
监控维度 |
---|
可用性 |
监控指标参考
- 名字空间Scope:BCE_BOS
- 维度Dimension:BucketId;UserId
分类 | 指标英文名称(Metric name) | 指标中文名称 | 单位 | 维度 | 备注 |
---|---|---|---|---|---|
基础数据 | BucketMAZSpaceUsedBytes | 标准存储-多AZ占用空间大小 | Bytes | BucketID | |
BucketMAZObjectCount | 标准存储-多AZ文件数量 | Count | BucketID | ||
MAZReadOpCount | 标准存储-多AZ读请求次数 | Count | BucketID | ||
MAZWriteOpCount | 标准存储-多AZ写请求次数 | Count | BucketID | ||
MAZReadErrorOpCount | 标准存储-多AZ读错误请求个数 | Count | BucketID | ||
MAZWriteErrorOpCount | 标准存储-多AZ写错误请求个数 | Count | BucketID | ||
MAZSpaceUsedBytes | 帐号下标准存储-多AZ总占用空间 | Bytes | UserID | ||
MAZObjectCount | 帐号下标准存储-多AZ总文件数量 | Count | UserID | ||
BucketSpaceUsedBytes | 标准存储占用空间大小 | Bytes | BucketID | ||
BucketObjectCount | 标注存储文件数量 | Count | BucketID | ||
ReadOpCount | 标准存储读请求次数 | Count | BucketID | ||
WriteOpCount | 标准存储写请求次数 | Count | BucketID | ||
ReadErrorOpCount | 标准存储读错误请求次数 | Count | BucketID | ||
WriteErrorOpCount | 标准存储写错误请求次数 | Count | BucketID | ||
BucketMAZStandardIASpaceUsedBytes | 低频存储-多AZ占用空间大小 | Bytes | BucketID | ||
BucketMAZStandardIAObjectCount | 低频存储-多AZ文件数量 | Count | BucketID | ||
MAZStandardIAReadOpCount | 低频存储-多AZ读请求次数 | Count | BucketID | ||
MAZStandardIAWriteOpCount | 低频存储-多AZ写请求次数 | Count | BucketID | ||
MAZStandardIAReadErrorOpCount | 低频存储-多AZ读错误请求个数 | Count | BucketID | ||
MAZStandardIAWriteErrorOpCount | 低频存储-多AZ写错误请求个数 | Count | BucketID | ||
MAZStandardIARetrievalBytes | 低频存储-多AZ数据取回大小 | Bytes | BucketID | ||
MAZStandardIASpaceUsedBytes | 帐号下低频存储-多AZ总占用空间 | Bytes | UserID | ||
MAZStandardIAObjectCount | 帐号下低频存储-多AZ总文件数量 | Count | UserID | ||
BucketStandardIAStorageBytes | 低频存储占用空间大小 | Bytes | BucketID | ||
BucketStandardIAObjectCount | 低频存储文件数量 | Count | BucketID | ||
StandardIAReadOpCount | 低频存储读请求次数 | Count | BucketID | ||
StandardIAWriteOpCount | 低频存储写请求次数 | Count | BucketID | ||
StandardIAReadErrorOpCount | 低频存储读错误请求次数 | Count | BucketID | ||
StandardIAWriteErrorOpCount | 低频存储写错误请求次数 | Count | BucketID | ||
StandardIARetrievalBytes | 低频存储数据取回大小 | Bytes | BucketID | ||
BucketColdSpaceUsedBytes | 冷存储占用空间大小 | Bytes | BucketID | ||
BucketColdObjectCount | 冷存储文件数量 | Count | BucketID | ||
ColdReadOpCount | 冷存储读请求次数 | Count | BucketID | ||
ColdWriteOpCount | 冷存储写请求次数 | Count | BucketID | ||
ColdReadErrorOpCount | 冷存储读错误请求次数 | Count | BucketID | ||
ColdWriteErrorOpCount | 冷存储写错误请求次数 | Count | BucketID | ||
ColdRetrievalBytes | 冷存储数据取回大小 | Bytes | BucketID | ||
BucketArchiveSpaceUsedBytes | 归档存储占用空间大小 | Bytes | BucketID | ||
BucketArchiveObjectCount | 归档存储文件数量 | Count | BucketID | ||
ArchiveReadOpCount | 归档存储读请求次数 | Count | BucketID | ||
ArchiveWriteOpCount | 归档存储写请求次数 | Count | BucketID | ||
ArchiveReadErrorOpCount | 归档存储读错误请求次数 | Count | BucketID | ||
ArchiveWriteErrorOpCount | 归档存储写错误请求次数 | Count | BucketID | ||
ArchiveRetrievalBytes | 归档存储取回字节数 | Bytes | BucketID | ||
ArchiveMinTimedStorage | 归档最小存储 | Bytes*Second | BucketID | ||
StandardTransforToStandardIA | 标准转低频存储容量 | Byte | BucketID | ||
StandardIATransforToCold | 低频转冷存储容量 | Byte | BucketID | ||
ColdTransforToStandardIA | 冷存储上浮低频存储容量 | Byte | BucketID | ||
StandardIATransforToStandard | 低频上浮标准存储容量 | Byte | BucketID | ||
流量数据 | ReadBytes | 外网读取量 | Bytes | BucketID | |
WriteBytes | 外网写入量 | Bytes | BucketID | ||
InternetWriteBandwidth | 每秒外网写数据总量 | bps | BucketID | ||
InternetReadBandwidth | 每秒外网读数据总量 | bps | BucketID | ||
IntranetReadBandwidth | 每秒内网读数据量 | bps | BucketID | ||
IntranetWriteBandwidth | 每秒内网写数据量 | bps | BucketID | ||
CDN1ReadBytes | CDN回源流量 | Bytes | BucketID | ||
XRegionCopyBytes | 跨区域复制流出流量 | Bytes | BucketID | ||
XRegionInCopyBytes | 跨区域复制流入流量 | Bytes | BucketID | ||
ERegionCopyBytes | 同区域复制流出流量 | Bytes | BucketID | ||
ERegionInCopyBytes | 同区域复制流入流量 | Bytes | BucketID | ||
TotalCopyBytes | 复制总流出流量 | Bytes | BucketID | ||
TotalInCopyBytes | 复制总流入流量 | Bytes | BucketID | ||
请求数据 | DeleteRequestsPerSecond | 每秒删除请求总次数 | rps | BucketID | |
GetRequestsPerSecond | 每秒读请求总次数 | rps | BucketID | ||
PutRequestsPerSecond | 每秒写请求总次数 | rps | BucketID | ||
TotalSuccessOpCount | 返回状态码为2XX的请求数 | Count | BucketID | ||
TotalRedirectOpCount | 返回状态码为3XX的请求数 | Count | BucketID | ||
TotalClientErrorOpCount | 返回状态码为4XX的请求数 | Count | BucketID | ||
TotalServerErrorOpCount | 返回状态码为5XX的请求数 | Count | BucketID | ||
TotalRequestTimeoutCount | 返回状态码为408的请求数 | Count | BucketID | ||
ClientDisconnectCount | 返回状态码为499的请求数 | Count | BucketID | ||
ListObjectCount | List Object请求总次数 | Count | BucketID | ||
GetObjectCount | Get Object请求总次数 | Count | BucketID | ||
PutObjectCount | Put Object请求总次数 | Count | BucketID | ||
DeleteObjectCount | DeleteObject请求总次数 | Count | BucketID | ||
HeadObjectCount | Head Object请求总次数 | Count | BucketID | ||
ClientDisconnectErrorRate | 客户端断链请求占比 | % | BucketID | ||
ClientTimeoutErrorRate | 客户端超时请求占比 | % | BucketID | ||
AlertFlowControlCount | 触发限流警告总次数 | Count | BucketID | ||
SoftFlowControlCount | 触发软限流总次数 | Count | BucketID | ||
HardFlowControlCount | 触发硬限流总次数 | Count | BucketID | ||
TurnAroundTime | BOS后端平均处理时间 | 毫秒 | BucketID | ||
PutAvgTurnAroundTime | BOS后端平均写处理时间 | 毫秒 | BucketID | ||
GetAvgTurnAroundTime | BOS后端平均读处理时间 | 毫秒 | BucketID | ||
TurnAroundTimeWarnCount | 后端处理时间过长(1s)的请求总数 | count | BucketID | ||
GetTurnAroundTimeWarnCount | 后端处理时间过长(1s)的读请求数 | count | BucketID | ||
PutTurnAroundTimeWarnCount | 后端处理时间过长(1s)的写请求数 | count | BucketID | ||
TurnAroundTimeWarn5sCount | 后端处理时间过长(5s)的请求总数 | count | BucketID | ||
GetTurnAroundTimeWarn5sCount | 后端处理时间过长(5s)的读请求数 | count | BucketID | ||
PutTurnAroundTimeWarn5sCount | 后端处理时间过长(5s的写请求数 | count | BucketID | ||
数据处理 | ImageBasics1Bytes | 图像基础处理用量 | Bytes | BucketID | |
ImageBasics1Count | 基础图像处理调用次数 | Count | BucketID | ||
ImageHeic1Count | Heic压缩(800x600以下尺寸) | Count | BucketID | ||
ImageHeic2Count | Heic压缩(800x600以上尺寸) | Count | BucketID | ||
ImageWebp1Count | Webp压缩(800x600以下尺寸) | Count | BucketID | ||
ImageWebp2Count | Webp压缩(800x600以上尺寸) | Count | BucketID | ||
VideoSnapshotCount | 视频截帧调用次数 | Count | BucketID | ||
VideoInfoCount | 获取视频元信息调用次数 | Count | BucketID | ||
服务监控 | Availability | 可用性 | % | BucketID |
监控数据保留策略
监控历史数据将会被保留40天,过期自动清除。
OpenAPI访问监控数据
Java代码示例:
public static void main( String[] args )
{
searchBCM();
}
public static void searchBCM(){
// params definition
String endpoint = "http://bcm.bj.baidubce.com";
String userId = "xxx"; // 百度智能云账号id
String ak = "xxx";
String sk = "xxx";
String scope = "BCE_BOS";
String metricName = "BucketSpaceUsedBytes"; // 监控字段可以参考:https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/iEP_IS7I1z/Q0JyPCxC-jqT6i#anchor-fa5ac7f0-2a14-11ee-9203-7fb0cea3ad07
String dimensions = "BucketId:hj-test"; // 维度信息可以参考bcm文档:https://cloud.baidu.com/doc/BCM/s/ujwvylt2m
Statistics[] statistics = new Statistics[]{Statistics.average,Statistics.maximum};
long now = System.currentTimeMillis();
String startTime = DateUtils.formatAlternateIso8601Date(new Date(now - 60 * 60 * 1000));
String endTime = DateUtils.formatAlternateIso8601Date(new Date(now));
int periodInSecond = 60;
// create a bcm client
BcmClientConfiguration config = new BcmClientConfiguration();
config.setCredentials(new DefaultBceCredentials(ak, sk));
config.setEndpoint(endpoint);
BcmClient bcmClient = new BcmClient(config);
// query metric data from bcm interface
MetricDataRequest request = new MetricDataRequest();
request.withUserId(userId)
.withScope(scope)
.withDimensions(dimensions)
.withMetricName(metricName)
.withStatistics(statistics)
.withStartTime(startTime)
.withEndTime(endTime)
.withPeriodInSecond(periodInSecond);
MetricDataResponse response = bcmClient.getMetricData(request);
System.out.println(JsonUtils.toJsonString(response));
}
返回结果示例(返回最近一个小时的bucket桶的标准存储占用空间数据变换点)
{"metadata":{"bceRequestId":"904c74a7-8ad2-4317-bb10-fc4c30cadd16","transferEncoding":"chunked","contentLength":-1,"contentType":"application/json;charset=UTF-8","date":1691137068000},"requestId":"904c74a7-8ad2-4317-bb10-fc4c30cadd16","code":"OK","message":"","dataPoints":[{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:17:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:18:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:19:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:20:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:21:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:22:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:23:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:24:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:25:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:26:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:27:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:28:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:29:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:30:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:31:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:32:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:33:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:34:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:35:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:36:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:37:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:38:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:39:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:40:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:41:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:42:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:43:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:44:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:45:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:46:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:47:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:48:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:49:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:50:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:51:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:52:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:53:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:54:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:55:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:56:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:57:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:58:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:59:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:00:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:01:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:02:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:03:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:04:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:05:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:06:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:07:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:08:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:09:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:10:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:11:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:12:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:13:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:14:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:15:47Z"},
{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:16:47Z"},
{"timestamp":"2023-08-04T08:17:47Z"}]}
使用报警服务
在查看对象存储BOS的使用情况时,可以创建报警规则。如果监控指标达到报警条件,云监控BCM可通过邮件、短信、电话等方式通知用户异常监控数据,并及时处理。
创建报警规则
- 登录云监控BCM控制台。
- 在左侧导航栏,选择报警策略。
- 在报警策略页面,单击添加策略。
- 在创建报警规则面板,设置报警规则相关参数
参数 | 说明 |
---|---|
策略名称 | 设置报警策略名称。 |
策略规则 | 报警级别分为:通知、警告、重要、严重,用户可根据告警对业务的影响程度选择通知、警告、重要、严重类型,用户自定义报警级别后,该字段会在告警通知中展示。 |
报警规则可添加且规则以及或规则,在报警规则部分可设置指标类型、阈值、单位、报警次数等。 | |
用户可配置报警发生后如未恢复正常,是否重复报警。 | |
用户可配置报警发生后如数据恢复正常,是否恢复报警。 | |
用户可配置监控数据不足时,是否出发报警动作。 | |
报警通知 | 云监控BCM的报警通知会发送给用户或用户组内的用户,可以包含一个或多个用户。 |
用户通知方式可以包括邮件、短信、电话。 | |
支持接口回调,支持填写公网可访问到的URL或如流、企业微信、钉钉、飞书、Knock群机器人webhook,详情参见BCM帮助文档。 | |
用户可设定定时关闭时间以及是否定时关闭。 |
管理报警规则
您可以对已创建的报警规则执行以下操作:
操作 | 说明 |
---|---|
修改通知状态 | 可选择是否开启报警通知。 |
复制报警策略 | 单击复制,创建相同的策略规则和报警通知。 |
编辑报警策略 | 单击编辑,可调整已成功创建的报警策略。 |
删除报警策略 | 单击删除,可删除已不再需要的报警规则。 |
查看报警历史
- 单击左侧报警历史,进入报警历史列表界面。
- 单击报警内容,进入您要查看的报警事件的详情页面。
- 在报警详情页面,可以查看到该报警事件的基本信息、数据详情、状态变更历史。