2018年1月12日

监控日志

摘要: 查日志 最近十分钟内的日志 一秒钟有多少错误日志,给我个waring 一秒钟有多少错误日志,给我个critical datetime.timedelta 可以进行比较,好处就是 now = datetime.datetime.now()delta = datetime.timedelta(minut 阅读全文

posted @ 2018-01-12 22:33 linux-paul 阅读(245) 评论(0) 推荐(0) 编辑

内存监控02

摘要: 应用内存监控插件,注册到commans.cfg check_memory​ cd /opt/plugins cp /root/devops/day5/check_mem.py . chmod +x !$ define command{ command_name check_memory comman 阅读全文

posted @ 2018-01-12 15:53 linux-paul 阅读(107) 评论(0) 推荐(0) 编辑

如何在centos6.5上使用LXC虚拟机

摘要: http://blog.51cto.com/slayer/1548263 阅读全文

posted @ 2018-01-12 14:40 linux-paul 阅读(103) 评论(0) 推荐(0) 编辑

导航