脚本



mongomon.tar.gz

定时任务

# mongodb monitor cron by wangyg @20161011
* * * * * cd /opt/xx/agent/falcon-plugins/mongomon/bin/ && python  mongodb_monitor.py  >> /opt/xx/agent/cron.log

监控指标

mongodb_opcounters
mongodb_connections
mongodb_uptime

报警策略

metric/tags/note condition max P run
mongodb_uptime [monogdb连续5次运行时间异常,请注意。] all(#5)!=1 1 3
net.port.listen/port=27017 [mongodb端口27017失效,请处理。] all(#3)==0 1 3
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""