蓝汛cdn刷新api收藏来着用很方便,不过包含明文帐号密码,公用非常不爽.遂在初学的python建了个小站.百度了一下,发现nginx+uwsgi是目前不错的生产解决方案.(nginx内置了uwsgi模块,用不着重新编译)半天弄完,分享下方便以后查询.nginx相关配置段: 1 server 2 ....
分类:
Web程序 时间:
2014-10-22 20:05:56
阅读次数:
243
Windows 7开发:UAC数据重定向 - Win32 Native目标本动手实验中,您将会学习如何:? 故障排除一个文件重定向 问题? 使用Process Monitor查找引起问题的根本原因系统要求您必须符合下面的条件以完成这次实验:? Microsoft Visual Studio 20.....
用给自己记录用defmonitor_work_1(content):dict_1={‘service‘:‘rdc_monitor‘,‘checkpoint‘:‘rdc_monitor_log‘,‘title‘:content,‘content‘:content,‘cluster‘:‘public‘,‘grade‘:‘2‘}params=urllib.urlencode(dict_1)urllib.urlopen(‘http://alert.sae.sina.com.cn/new/‘,params)
分类:
Web程序 时间:
2014-10-21 19:49:41
阅读次数:
168
今天通过zabbix监控发现,有一台服务器出现网络不稳定,zabbix图像断流,随之,登录服务器经过排查,发现/var/log/messages中出现大量kernelnf_conntrack:tablefull,droppingpacket。解决方法如下。对ip_conntrack的两个参数进行设置即可,不过在centos上,需要这样设置:cento..
分类:
其他好文 时间:
2014-10-21 15:44:19
阅读次数:
308
在layouts的模板文件<linkrel="stylesheet"href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css"><g:javascriptlibrary="jquery"plugin="jquery"/>使用本地bootstrap,图标一直不能正常显示,有点麻烦BootStrap.groovy,加入:runtime":jquery:1...
分类:
移动开发 时间:
2014-10-21 15:40:32
阅读次数:
173
第一种:
使用aop指定切面aspect,
id="LogAdvice" class="com.thinkmore.framework.monitor.log.LogAdviceInterceptor"> name="cache"> local="ehCache" /> proxy-target-class="true"> id="txPointcut" exp...
分类:
其他好文 时间:
2014-10-21 12:25:44
阅读次数:
148
I need a monitor class that regularly checks whether a given HTTP URL is available. I can take care of the "regularly" part using the Spring TaskExecu...
分类:
编程语言 时间:
2014-10-21 03:36:46
阅读次数:
264
我们项目客户端能看到的服务器列表由一个叫IPList.txt文本文件提供,每次启动客户端都会从CDN下载最新版本的IPList.txt。前两天运营同学那边提过来一个小工具需求,公测时对各个渠道需要提供不同的IPList.txt,如果临时加开新服或者修改老服状态(火爆/拥挤/顺畅),时间紧急手动修.....
分类:
编程语言 时间:
2014-10-20 22:45:02
阅读次数:
261
现在公司几个游戏项目主要使用MongoDB来存储游戏数据,所以对MongoDB的监控非常重要。关于MongoDB的其他监控方法详见以下几篇文章:MongoDB监控一MongoDB监控二mongotopMongoDB监控三MongoDB自带监控方法MongoDB监控四dbStats和collStats和replSetGetStatushttp://mayulin.blog...
分类:
数据库 时间:
2014-10-20 19:42:30
阅读次数:
227
在有些情况下,只能使用远程的MongoDB实例而不能登录到MongoDB实例所在的服务器上,这时可以在一台服务器上维护一个远程MongoDB实例的主机和端口列表,然后通过zabbix的自动发现功能去根据主机和端口自动添加相应的监控。
分类:
数据库 时间:
2014-10-20 19:41:19
阅读次数:
339