[monitor] 监控类型名称i18n国际化支持

This commit is contained in:
tomsun28
2021-12-05 00:09:03 +08:00
parent d2d56d9846
commit 2b8b1430b6
14 changed files with 135 additions and 130 deletions

View File

@@ -1,5 +1,8 @@
# 监控应用类型名称(与文件名保持一致) eg: linux windows tomcat mysql aws...
# 监控应用类型(与文件名保持一致) eg: linux windows tomcat mysql aws...
app: exapmle
name:
zh-CN: 模拟应用类型
en-US: EXAMPLE APP
# 参数映射map. type是参数类型: 0-number数字, 1-string明文字符串, 2-secret加密字符串
# 强制固定必须参数 - host
configmap:

View File

@@ -1,5 +1,8 @@
# 监控应用类型名称(与文件名保持一致) eg: linux windows tomcat mysql aws...
app: api
name:
zh-CN: HTTP API
en-US: HTTP API
# 参数映射map. type是参数类型: 0-number数字, 1-string明文字符串, 2-secret加密字符串
# 强制固定必须参数 - host
configmap:

View File

@@ -1,5 +1,8 @@
# 监控应用类型名称(与文件名保持一致) eg: linux windows tomcat mysql aws...
app: ping
name:
zh-CN: PING连通性
en-US: PING CONNECT
# 参数映射map. type是参数类型: 0-number数字, 1-string明文字符串, 2-secret加密字符串
# 强制固定必须参数 - host
configmap:

View File

@@ -1,4 +1,7 @@
app: telnet
name:
zh-CN: TELNET端口可用性
en-US: PORT TELNET
configmap:
- key: host
type: 1

View File

@@ -1,7 +1,7 @@
# 监控应用类型名称(与文件名保持一致) eg: linux windows tomcat mysql aws...
app: website
# 参数映射map. type是参数类型: 0-number数字, 1-string明文字符串, 2-secret加密字符串
# 强制固定必须参数 - host
name:
zh-CN: 网站监测
en-US: WEBSITE MONITOR
configmap:
- key: host
type: 1