01 2018 档案

摘要:公司板卡经常ping不同,想到zabbix会报警,于是去数据库取出相关报警内容,查询zabbix数据库select from_unixtime(clock) as DateTime,subject from alerts WHERE sendto = 'xiaofeng@sunspeedy.com' and subject like '%ping down%' \G; 每个子元组里面的格式是... 阅读全文
posted @ 2018-01-29 08:01 jianxiaofeng 阅读(469) 评论(0) 推荐(0)
摘要:https://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html 可以看官网文档,本人英文差,翻译不好,谅解 在2015.8.0及更高版本中,Windows Software Repository缓存是在 阅读全文
posted @ 2018-01-25 14:36 jianxiaofeng 阅读(3720) 评论(1) 推荐(0)
摘要:nginx 配置文件 user www;worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on 阅读全文
posted @ 2018-01-08 08:26 jianxiaofeng 阅读(144) 评论(0) 推荐(0)
摘要:uwsgi+ python python是怎样读取配置文件的(.ini文件) 详见:http://www.cnblogs.com/anpengapple/p/5095133.html python的wsgi模块 详见: http://blog.csdn.net/john_f_lau/article/ 阅读全文
posted @ 2018-01-08 08:13 jianxiaofeng 阅读(137) 评论(0) 推荐(0)
摘要:在server端配置如下: [root@xiaofeng alertscripts]# cat /usr/local/zabbix/etc/zabbix_server.conf |grep -v '^#'|grep -v '^$'LogFile=/tmp/zabbix_server.log DBHo 阅读全文
posted @ 2018-01-08 08:12 jianxiaofeng 阅读(392) 评论(0) 推荐(0)