<?php xml version="1.0" encoding="UTF-8"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><![CDATA[曲文庆&#39;s Blog]]></title>
<link>http://www.quwenqing.com/</link>
<description><![CDATA[]]></description>
<language>zh-tw</language>
<copyright><![CDATA[CopyRight 2008 F2Blog.com|F2Cont.com All Rights Reserved.]]></copyright>
<webMaster><![CDATA[quwenqing@quwenqing.com ()]]></webMaster>
<atom:link href="http://www.quwenqing.com/rss.html" rel="self" type="application/rss+xml" />
<generator>F2blog .cont 1.1 Build 090810</generator> 
<image>
	<title>曲文庆&#39;s Blog</title> 
	<url>http://www.quwenqing.com/attachments/8278598901.jpg</url> 
	<link>http://www.quwenqing.com/</link> 
	<description>曲文庆&#39;s Blog</description> 
</image>
<item>
	<link>http://www.quwenqing.com/read-165.html</link>
	<title><![CDATA[基于Cacti下的Varnish 3监控统计]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[监控技术]]></category>
	<pubDate>Sat, 20 Oct 2012 12:07:24 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-165.html</guid>	
	<description><![CDATA[<p>Varnish 3取消了varnishadm中的status命令，也就是说，以前在varnish 2中通过远程连接Varnish管理端口获取状态的方式已经无法使用，而Varnish3中的varnishstat获取状态的命令又不支持远程方式，为此做了个脚本，通过snmp获取varnish状态。</p><p><img src="http://www.quwenqing.com/images/download.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/>Varnish3.zip&nbsp;(请登录后下载)</p><p>解包会有3个文件：</p><p>cacti_host_template_varnish.xml</p><p>snmpd.conf</p><p>snmpvarnishstat</p><p>将snmpd.conf文件内容追加到snmp的配置中（默认是/etc/snmp/snmpd.conf）</p><p>将snmpvarnishstat文件放入 /etc/snmp 目录，给予文件执行权限，修改文件中的varnishstat命令路径和实例名</p><p>将 cacti_host_template_varnish.xml 模板到入到cacti （0.8.8a）</p><p>创建varnish监控，host template选择Varnish即可。</p><p>示例图如下：&nbsp;</p><p><div id="Gallery1729">&nbsp;</div><script type="text/javascript">var Gallery1729 = new F2Gallery("Gallery1729","zh_cn");Gallery1729.appendImage("http://www.quwenqing.com/attachments/201210/1685281773_f2s.jpg", "1", 400, 159);Gallery1729.appendImage("http://www.quwenqing.com/attachments/201210/0008598191_f2s.jpg", "2", 400, 160);Gallery1729.appendImage("http://www.quwenqing.com/attachments/201210/8327126401_f2s.jpg", "3", 400, 168);Gallery1729.appendImage("http://www.quwenqing.com/attachments/201210/4273802989_f2s.jpg", "4", 400, 160);Gallery1729.appendImage("http://www.quwenqing.com/attachments/201210/3894753562_f2s.jpg", "5", 400, 160);Gallery1729.show();</script></p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-145.html</link>
	<title><![CDATA[Redis for cacti 模板]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[监控技术]]></category>
	<pubDate>Thu, 17 Nov 2011 11:32:02 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-145.html</guid>	
	<description><![CDATA[对cacti论坛下载的版本做了调整：<br /> 1、对redis中各个db的keys数量做了求和输出显示，如果使用原版的单db模式，可以在redis-stats.py中屏蔽相应脚本<br /> 2、解决了原版中无法定义端口的问题，在创建图像监控时，需要输入redis端口号<br /><br /><img src="http://www.quwenqing.com/images/download.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/>redis.rar&nbsp;(请登录后下载)<br /><br /><br /><br /><img src="http://www.quwenqing.com/attachments/201111/0891541648_f2s.png" style="cursor:pointer;" onclick="open_img(&#39;http://www.quwenqing.com/attachments/201111/0891541648.png&#39;)" alt="http://www.quwenqing.com/attachments/201111/0891541648.png" width="400" height="156" /><br /><br /><img src="http://www.quwenqing.com/attachments/201111/9933352425_f2s.png" style="cursor:pointer;" onclick="open_img(&#39;http://www.quwenqing.com/attachments/201111/9933352425.png&#39;)" alt="http://www.quwenqing.com/attachments/201111/9933352425.png" width="400" height="156" /><br /><br /><img src="http://www.quwenqing.com/attachments/201111/8936763206_f2s.png" style="cursor:pointer;" onclick="open_img(&#39;http://www.quwenqing.com/attachments/201111/8936763206.png&#39;)" alt="http://www.quwenqing.com/attachments/201111/8936763206.png" width="400" height="166" /><br /><br /><img src="http://www.quwenqing.com/attachments/201111/0498176345_f2s.png" style="cursor:pointer;" onclick="open_img(&#39;http://www.quwenqing.com/attachments/201111/0498176345.png&#39;)" alt="http://www.quwenqing.com/attachments/201111/0498176345.png" width="400" height="166" />]]></description>
</item>
</channel>
</rss>
