[monitor] 支持TELNET监测服务端口可用性监控类型

This commit is contained in:
tomsun28
2021-12-04 19:55:54 +08:00
parent 987032f552
commit 2781e32a55
4 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
app: 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^_^