<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lizongbo at 618119.com &#187; mrtg</title>
	<atom:link href="http://618119.com/tag/mrtg/feed" rel="self" type="application/rss+xml" />
	<link>http://618119.com</link>
	<description>工作,生活,java,apache,tomcat,Resin,mina,Hessian,Openfire,XMPP,RPC,Ubuntu</description>
	<lastBuildDate>Sat, 21 Aug 2010 08:34:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>安装配置mrtg</title>
		<link>http://618119.com/archives/2008/01/07/62.html</link>
		<comments>http://618119.com/archives/2008/01/07/62.html#comments</comments>
		<pubDate>Mon, 07 Jan 2008 02:09:23 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mrtg]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/01/07/62.html</guid>
		<description><![CDATA[下载
http://oss.oetiker.ch/mrtg/pub/mrtg-2.15.2.zip
或： http://oss.oetiker.ch/mrtg/pub/mrtg-2.15.2.tar.gz
来源：http://oss.oetiker.ch/mrtg/download.en.html
前提：已经安装perl，
解压mrtg-2.15.2.zip到d：生成D:\mrtg-2.15.2
命令行下，进入到D:\mrtg-2.15.2\bin,运行perl mrtg进行验证.
D:\MRTG-2~1.2\bin&#62;set perl5lib=D:\Perl\lib;%perl5lib%
D:\MRTG-2~1.2\bin&#62;perl d:\mrtg-2.15.2\bin\indexmaker -output D:\Apache2.2\htdocs
\mrtg\index.html -title &#8220;性能统计&#8221; D:\Apache2.2\htdocs\mrtg\mrtg.cfg
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
D:\MRTG-2~1.2\bin&#62;perl mrtg
创建文件夹 D:\mrtg-2.15.2\workdir\web1
命令行下转到D:\mrtg-2.15.2\bin，然后运行下列命令生成配置文件：
D:\mrtg-2.15.2\bin&#62;perl d:\mrtg-2.15.2\bin\cfgmaker public@192.168.18.2 &#8211;global
&#8220;WorkDir: D:\mrtg-2.15.2\workdir\web1&#8243; &#8211;output D:\mrtg-2.15.2\workdir\web1\mrt
g_web1.cfg
//追加参数配置RunAsDaemon:yes到D:\mrtg-2.15.2\workdir\web1\mrtg_web1.
cf
D:\mrtg-2.15.2\bin&#62;echo RunAsDaemon:yes &#62;&#62;D:\mrtg-2.15.2\workdir\web1\mrtg_web1.
cfg
//追加参数间隔周期Interval:5 到D:\mrtg-2.15.2\workdir\web1\mrtg_web1.cfg
D:\mrtg-2.15.2\bin&#62;echo Interval:5 &#62;&#62;D:\mrtg-2.15.2\workdir\web1\mrtg_web1.cfg
//生成统计汇总页面
D:\mrtg-2.15.2\bin&#62;perl D:\mrtg-2.15.2\bin\indexmaker D:\mrtg-2.15.2\workdir\web
1\mrtg_web1.cfg&#62;D:\mrtg-2.15.2\workdir\web1\index.htm
//启动数据采集，并存以后台服务模式运行
D:\mrtg-2.15.2\bin&#62;perl D:\mrtg-2.15.2\bin\mrtg &#8211;logging=mrtg.log D:\mrtg-2.15.
2\workdir\web1\mrtg_web1.cfg
Daemonizing MRTG &#8230;
通过D:/mrtg-2.15.2/workdir/web1/index.htm察看统计结果：
通过 D:/mrtg-2.15.2/workdir/web1/192.168.18.2_2.html 查看详情
在linux下遇到 下面的错误信息
ERROR: Can&#8217;t Execute &#8216;/usr/mrtg-2.15.2/bin/rateup&#8217;
用which命令找到rateup
root@618119.com:~#   which rateup
/usr/bin/rateup
然后执行 ln /usr/bin/rateup /usr/mrtg-2.15.2/bin/rateup

	Tags: Linux, mrtg

	Related posts
	
	配置WinSCP通过ssh隧道向linux服务器传输文件 (0)
	神舟笔记本升级安装ubuntu 9.04 64位并编译 [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/01/07/62.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
