[manager,webapp]优化监控类型参数,告警处理提示
This commit is contained in:
24
manager/src/main/resources/define/app/port.yml
Normal file
24
manager/src/main/resources/define/app/port.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
app: port
|
||||
name:
|
||||
zh-CN: 端口可用性
|
||||
en-US: PORT TELNET
|
||||
configmap:
|
||||
- key: host
|
||||
type: 1
|
||||
- key: port
|
||||
type: 0
|
||||
- key: timeout
|
||||
type: 0
|
||||
metrics:
|
||||
- name: summary
|
||||
priority: 0
|
||||
fields:
|
||||
- field: responseTime
|
||||
type: 0
|
||||
unit: ms
|
||||
protocol: telnet
|
||||
# 当protocol为telnet协议时具体的采集配置
|
||||
telnet:
|
||||
host: ^_^host^_^
|
||||
port: ^_^port^_^
|
||||
timeout: ^_^timeout^_^
|
||||
Reference in New Issue
Block a user