{"id":36,"date":"2006-12-01T22:28:14","date_gmt":"2006-12-01T06:28:14","guid":{"rendered":"http:\/\/blog.longwin.com.tw\/?p=36"},"modified":"2006-12-01T22:28:14","modified_gmt":"2006-12-01T06:28:14","slug":"","status":"publish","type":"post","link":"https:\/\/blog.fhl.net\/?p=36","title":{"rendered":"\u76e3\u6e2c\u4f3a\u670d\u5668\u7684\u7db2\u8def\u6d41\u91cf"},"content":{"rendered":"<p>\u4ee5\u4e0b\u4ecb\u7d39\u5982\u4f55\u88dd\u8a2d mrtg \u76e3\u6e2c eth0 \u7684\u6d41\u91cf<\/p>\n<p>yum -y install net-snmp<\/p>\n<p>vi \/etc\/snmp\/snmpd.conf<\/p>\n<p><font color=\"#00ff00\">com2sec local localhost public<br \/> \tcom2sec mynetwork 192.168.1.0\/24 public<br \/> \tgroup MyRWGroup v1 local<br \/> \tgroup MyROGroup v1 mynetwork<br \/> \tview all included .1.3.6.1.2.1.1 80<br \/> \taccess MyROGroup &quot;&quot; any noauth 0 all none none<br \/> \taccess MyRWGroup &quot;&quot; any noauth 0 all all all<br \/> \tsyslocation Fedora Core 6<\/font><\/p>\n<p><font color=\"#00ff00\">syscontact someone &lt;someone@mail.com.tw&gt; <\/font><\/p>\n<p>chkconfig snmpd on<\/p>\n<p>&nbsp;service snmpd start<\/p>\n<p>yum -y install mrtg<\/p>\n<p>mkdir \/home\/WWW\/www\/mrtg #\u6216\u8005\u5176\u4ed6\u4f60\u8981\u7522\u751fmrtg\u7d71\u8a08\u6a94\u6848\u7684\u5730\u65b9<\/p>\n<p>&nbsp;cfgmaker &#8211;global &#39;WorkDir: \/home\/WWW\/www\/mrtg&#39; \\<br \/>&gt; &#8211;global &#39;Options[_]: bits,growright&#39; \\<br \/>&gt; -global &#39;Language: big5&#39; \\<br \/>&gt; &#8211;output \/etc\/mrtg\/mrtg.cfg \\<br \/>&gt; &#8211;ifref=ip \\<br \/>&gt; 205.71.38.xxx<\/p>\n<p>indexmaker &#8211;output \/home\/WWW\/www\/mrtg\/index.html \/etc\/mrtg\/mrtg.cfg<\/p>\n<p>&nbsp;<font color=\"#00ffff\">mrtg \/etc\/mrtg\/mrtg.cfg<\/font><\/p>\n<p><font color=\"#00ffff\">mrtg \/etc\/mrtg\/mrtg.cfg<\/font><\/p>\n<p><font color=\"#00ffff\">mrtg \/etc\/mrtg\/mrtg.cfg<\/font><\/p>\n<p>\u7136\u5f8c\u5c31\u53ef\u4ee5\u53bb\u770b\u662f\u5426\u7522\u751f\u6d41\u91cf\u7d71\u8a08\u5716\u8868\u4e86&nbsp;<\/p>\n<p>&nbsp;\u4ee5\u4e0a\u662f\u53c3\u8003\u81ea <a href=\"http:\/\/cha.homeip.net\/blog\/archives\/2005\/03\/building_linux.html\">\u9019\u88e1<\/a><\/p>\n<p><!--more--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u4ecb\u7d39\u5982\u4f55\u88dd\u8a2d mrtg \u76e3\u6e2c eth0 \u7684\u6d41\u91cf yum -y install net-snmp vi \/e &hellip; <a href=\"https:\/\/blog.fhl.net\/?p=36\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">\u76e3\u6e2c\u4f3a\u670d\u5668\u7684\u7db2\u8def\u6d41\u91cf<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-e"],"_links":{"self":[{"href":"https:\/\/blog.fhl.net\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fhl.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fhl.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fhl.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fhl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":0,"href":"https:\/\/blog.fhl.net\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.fhl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fhl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fhl.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}