1 Star 0 Fork 3

tokings/ambari-mongodb-cluster

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
alerts.json 2.35 KB
一键复制 编辑 原始数据 按行查看 历史
geniuszhe 提交于 2016-05-27 14:40 . add alert
{
"MONGODB": {
"service": [],
"MONGODB": [
{
"name": "mongodb_process",
"label": "mongodb Process",
"description": "This host-level alert is triggered if the Mongodb cannot be determined to be up.",
"interval": 1,
"scope": "HOST",
"source": {
"type": "PORT",
"uri": "27017",
"default_port": 27017,
"reporting": {
"ok": {
"text": "TCP OK - {0:.3f}s response on port {1}"
},
"warning": {
"text": "TCP OK - {0:.3f}s response on port {1}",
"value": 1.5
},
"critical": {
"text": "Connection failed: {0} to {1}:{2}",
"value": 5.0
}
}
}
}
],
"MONGODC": [
{
"name": "mongo_config_process",
"label": "mongo config Process",
"description": "This host-level alert is triggered if the Mongodb config server cannot be determined to be up.",
"interval": 1,
"scope": "HOST",
"source": {
"type": "PORT",
"uri": "20000",
"default_port": 20000,
"reporting": {
"ok": {
"text": "TCP OK - {0:.3f}s response on port {1}"
},
"warning": {
"text": "TCP OK - {0:.3f}s response on port {1}",
"value": 1.5
},
"critical": {
"text": "Connection failed: {0} to {1}:{2}",
"value": 5.0
}
}
}
}
],
"MONGODS": [
{
"name": "mongos_process",
"label": "mongos Process",
"description": "This host-level alert is triggered if the Mongodb mongos cannot be determined to be up.",
"interval": 1,
"scope": "HOST",
"source": {
"type": "PORT",
"uri": "{{mongodb/mongos_tcp_port}}",
"default_port": 30000,
"reporting": {
"ok": {
"text": "TCP OK - {0:.3f}s response on port {1}"
},
"warning": {
"text": "TCP OK - {0:.3f}s response on port {1}",
"value": 1.5
},
"critical": {
"text": "Connection failed: {0} to {1}:{2}",
"value": 5.0
}
}
}
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tokings/ambari-mongodb-cluster.git
git@gitee.com:tokings/ambari-mongodb-cluster.git
tokings
ambari-mongodb-cluster
ambari-mongodb-cluster
master

搜索帮助