<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: FreeBSD 6.1上用net-snmp-5.2.2和mrtg-2.13.2实现多种监控</title>
	<atom:link href="http://www.toplee.com/blog/94.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.toplee.com/blog/94.html</link>
	<description>活到老，学到老 ...   @ IT，业界，互联网</description>
	<lastBuildDate>Thu, 09 Sep 2010 17:07:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-23821</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 03 Feb 2008 02:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-23821</guid>
		<description>[Comment ID #23785 Will Be Quoted Here]


乱码一方面在在mrtg.cfg里面要指定html的header字符集，另外，$1$2那个是因为没有读到数据，空了我看看</description>
		<content:encoded><![CDATA[<blockquote class='comment_quote'><p><a href="http://www.toplee.com/blog/94.html#comment-23785" title="Click here to view the original comment"><em>crazywill on February 2, 2008 at 11:27 pm said:</em></a></p>
<p>michael, 你的mrtg监控页面效果<br />
里面有乱码啊<br />
最大  	平均  	目前<br />
5 mi&#8230;</p></blockquote>
<p>乱码一方面在在mrtg.cfg里面要指定html的header字符集，另外，$1$2那个是因为没有读到数据，空了我看看</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crazywill</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-23785</link>
		<dc:creator>crazywill</dc:creator>
		<pubDate>Sat, 02 Feb 2008 15:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-23785</guid>
		<description>michael, 你的mrtg监控页面效果 
里面有乱码啊
最大  	平均  	目前
5 min: 	91 $1$2/秒 	11 $1$2/秒 	14 $1$2/秒
15 min: 	52 $1$2/秒 	9 $1$2/秒 	10 $1$2/秒
这些$1$2是乱码吧？</description>
		<content:encoded><![CDATA[<p>michael, 你的mrtg监控页面效果<br />
里面有乱码啊<br />
最大  	平均  	目前<br />
5 min: 	91 $1$2/秒 	11 $1$2/秒 	14 $1$2/秒<br />
15 min: 	52 $1$2/秒 	9 $1$2/秒 	10 $1$2/秒<br />
这些$1$2是乱码吧？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-8929</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 21 Nov 2006 09:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-8929</guid>
		<description>mrtg的配置文件太麻烦，出现问题比较棘手，从错误情况来看，还是$target-&gt;[0]{$mode}这个变量没有在预定义的数据当中找到匹配的值，但是具体怎么产生的我也没有仔细研究过，多试试几次吧，最近也没有心情去折腾这些东西了，很抱歉不能帮上楼上的朋友。</description>
		<content:encoded><![CDATA[<p>mrtg的配置文件太麻烦，出现问题比较棘手，从错误情况来看，还是$target->[0]{$mode}这个变量没有在预定义的数据当中找到匹配的值，但是具体怎么产生的我也没有仔细研究过，多试试几次吧，最近也没有心情去折腾这些东西了，很抱歉不能帮上楼上的朋友。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btlcxh</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-8924</link>
		<dc:creator>btlcxh</dc:creator>
		<pubDate>Tue, 21 Nov 2006 08:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-8924</guid>
		<description>Michael兄，
小弟在监控cpu时也碰到isee的这个问题
执行 mrtg /etc/mrtg/cpu.cfg后报错如下： 

[root@unnc-nagios snmp]# mrtg /etc/mrtg/cpu.cfg 
SNMP Error: 
Received SNMP response with error code 
error status: noSuchName 
index 1 (OID: 1.3.6.1.4.1.2021.4.6.0) 
SNMPv1_Session (remote host: &quot;10.2.1.1&quot; [10.2.1.1].161) 
community: &quot;public&quot; 
request ID: 381777074 
PDU bufsize: 8000 bytes 
timeout: 2s 
retries: 5 
backoff: 1) 
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490 
SNMPGET Problem for .1.3.6.1.4.1.2021.4.6.0 .1.3.6.1.4.1.2021.4.6.0 sysUptime sysName on 

public@10.2.1.1::::::v4only 
at /usr/bin/mrtg line 1920 
ERROR: Target[mem][_IN_] &#039; $target-&gt;[0]{$mode} &#039; did not eval into defined data 
ERROR: Target[mem][_OUT_] &#039; $target-&gt;[0]{$mode} &#039; did not eval into defined data 
[root@unnc-nagios snmp]# 

如果知道，敬请告知，谢谢！</description>
		<content:encoded><![CDATA[<p>Michael兄，<br />
小弟在监控cpu时也碰到isee的这个问题<br />
执行 mrtg /etc/mrtg/cpu.cfg后报错如下： </p>
<p>[root@unnc-nagios snmp]# mrtg /etc/mrtg/cpu.cfg<br />
SNMP Error:<br />
Received SNMP response with error code<br />
error status: noSuchName<br />
index 1 (OID: 1.3.6.1.4.1.2021.4.6.0)<br />
SNMPv1_Session (remote host: &#8220;10.2.1.1&#8243; [10.2.1.1].161)<br />
community: &#8220;public&#8221;<br />
request ID: 381777074<br />
PDU bufsize: 8000 bytes<br />
timeout: 2s<br />
retries: 5<br />
backoff: 1)<br />
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490<br />
SNMPGET Problem for .1.3.6.1.4.1.2021.4.6.0 .1.3.6.1.4.1.2021.4.6.0 sysUptime sysName on </p>
<p>public@10.2.1.1::::::v4only<br />
at /usr/bin/mrtg line 1920<br />
ERROR: Target[mem][_IN_] &#8216; $target-&gt;[0]{$mode} &#8216; did not eval into defined data<br />
ERROR: Target[mem][_OUT_] &#8216; $target-&gt;[0]{$mode} &#8216; did not eval into defined data<br />
[root@unnc-nagios snmp]# </p>
<p>如果知道，敬请告知，谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isee</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-8403</link>
		<dc:creator>isee</dc:creator>
		<pubDate>Fri, 10 Nov 2006 02:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-8403</guid>
		<description>Michael 老大我的系统平台是freebsd6.1通过ports安装后发现cpu不能监控，错误如下，麻烦您帮我看一看
2006-11-10 10:38:21: ERROR: Target[cpu][_IN_] &#039; $target-&gt;[2]{$mode}  +  $target-                                              &gt;[3]{$mode}  +  $target-&gt;[4]{$mode} &#039; (warn): Use of uninitialized value in addi                                              tion (+) at (eval 2234) line 1.
2006-11-10 10:38:21: ERROR: Target[cpu][_OUT_] &#039; $target-&gt;[2]{$mode}  +  $target                                              -&gt;[3]{$mode}  +  $target-&gt;[4]{$mode} &#039; (warn): Use of uninitialized value in add                                              ition (+) at (eval 2235) line 1.
2006-11-10 10:38:21: ERROR: Target[usrsys][_IN_] &#039; $target-&gt;[5]{$mode} &#039; did not                                               eval into defined data
2006-11-10 10:38:21: ERROR: Target[usrsys][_OUT_] &#039; $target-&gt;[5]{$mode} &#039; did no                                              t eval into defined data
2006-11-10 10:38:21: ERROR: Target[swap][_IN_] &#039; $target-&gt;[8]{$mode} &#039; did not e                                              val into defined data
2006-11-10 10:38:21: ERROR: Target[swap][_OUT_] &#039; $target-&gt;[8]{$mode} &#039; did not                                               eval into defined data</description>
		<content:encoded><![CDATA[<p>Michael 老大我的系统平台是freebsd6.1通过ports安装后发现cpu不能监控，错误如下，麻烦您帮我看一看<br />
2006-11-10 10:38:21: ERROR: Target[cpu][_IN_] &#8216; $target-&gt;[2]{$mode}  +  $target-                                              &gt;[3]{$mode}  +  $target-&gt;[4]{$mode} &#8216; (warn): Use of uninitialized value in addi                                              tion (+) at (eval 2234) line 1.<br />
2006-11-10 10:38:21: ERROR: Target[cpu][_OUT_] &#8216; $target-&gt;[2]{$mode}  +  $target                                              -&gt;[3]{$mode}  +  $target-&gt;[4]{$mode} &#8216; (warn): Use of uninitialized value in add                                              ition (+) at (eval 2235) line 1.<br />
2006-11-10 10:38:21: ERROR: Target[usrsys][_IN_] &#8216; $target-&gt;[5]{$mode} &#8216; did not                                               eval into defined data<br />
2006-11-10 10:38:21: ERROR: Target[usrsys][_OUT_] &#8216; $target-&gt;[5]{$mode} &#8216; did no                                              t eval into defined data<br />
2006-11-10 10:38:21: ERROR: Target[swap][_IN_] &#8216; $target-&gt;[8]{$mode} &#8216; did not e                                              val into defined data<br />
2006-11-10 10:38:21: ERROR: Target[swap][_OUT_] &#8216; $target-&gt;[8]{$mode} &#8216; did not                                               eval into defined data</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-7114</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 22 Oct 2006 05:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-7114</guid>
		<description>一般来说应该还是conf文件配置问题，官方也很少有这方面完整的文档说明。</description>
		<content:encoded><![CDATA[<p>一般来说应该还是conf文件配置问题，官方也很少有这方面完整的文档说明。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wfg</title>
		<link>http://www.toplee.com/blog/94.html/comment-page-1#comment-7110</link>
		<dc:creator>wfg</dc:creator>
		<pubDate>Sun, 22 Oct 2006 02:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.toplee.com/blog/?p=94#comment-7110</guid>
		<description>请问启动snmpd时出现以下错误是怎么回事？
ns# tail /var/log/snmpd.log
sysctl: physmem: Cannot allocate memory
[init_smux] bind failed: Address already in use
Error opening specified endpoint &quot;restart&quot;
Server Exiting with code 1</description>
		<content:encoded><![CDATA[<p>请问启动snmpd时出现以下错误是怎么回事？<br />
ns# tail /var/log/snmpd.log<br />
sysctl: physmem: Cannot allocate memory<br />
[init_smux] bind failed: Address already in use<br />
Error opening specified endpoint &#8220;restart&#8221;<br />
Server Exiting with code 1</p>
]]></content:encoded>
	</item>
</channel>
</rss>
