10 2015 档案
摘要:1. 添加一个classmethod 这里要用到装饰器(Decorator)。装饰器的概念可以看这里: "http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/0013868...
阅读全文
摘要:delete old data in elasticsearch 0.正文。 其实很简单,就是用他的rest api
发一个delete 请求到 localhost:9200/[indices] [indices]怎么获取?可以用过插件,比如head,marvel等。但是最简单还是通过他的...
阅读全文
摘要:iptables做nat网络地址转换。 0. 权威文档 "http://www.netfilter.org/documentation/HOWTO/NAT HOWTO 6.html" e文好的直接跳过本文。 1. Source NAT
在POSTROUTING链里面定义,用 j SNAT...
阅读全文
摘要:zabbix trapper items 1. 一种很灵活的item方式
有别于agent那种方式。他和zabbix_sender配合使用,主动的将数据推(push)给zabbix。 To use a trapper item you must: 1. have a trapper ite...
阅读全文