{"id":169,"date":"2009-02-15T20:41:24","date_gmt":"2009-02-15T11:41:24","guid":{"rendered":"http:\/\/www.kitakore.asia\/wordpress\/?p=169"},"modified":"2019-02-14T17:26:36","modified_gmt":"2019-02-14T08:26:36","slug":"mrtg%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/blog.kitakore.asia\/?p=169","title":{"rendered":"MRTG\u306e\u8a2d\u5b9a"},"content":{"rendered":"<p><a href=\"https:\/\/blog.kitakore.asia\/wp-content\/uploads\/2009\/02\/mrtg.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-173\" title=\"mrtg\" src=\"https:\/\/blog.kitakore.asia\/wp-content\/uploads\/2009\/02\/mrtg.gif\" alt=\"mrtg\" width=\"156\" height=\"230\"><\/a><\/p>\n<p>\u3010MRTG\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3011<\/p>\n<table border=\"0\" bgcolor=\"#ffffcc\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"># yum install mrtg.i386<\/span> <\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u305d\u308c\u4ee5\u5916\u4f55\u304b\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u304b\u5fc5\u8981\u3060\u3063\u305f\u6c17\u304c\u3059\u308b\u30fb\u30fb\u30fb\u3002<br \/>\n\u30fbGD \u30e9\u30a4\u30d6\u30e9\u30ea<br \/>\n\u30fbzlib \u30e9\u30a4\u30d6\u30e9\u30ea<br \/>\n\u30fblibpng \u30e9\u30a4\u30d6\u30e9\u30ea<br \/>\n\u30fbPerl 5.004\u4ee5\u964d<br \/>\n\u30fbApache<br \/>\n\u3053\u306e\u8fba\u3002<br \/>\n\u2193<br \/>\n\u3010mrtg.cfg\u3092\u3064\u304f\u308b\u3011<br \/>\n\u203b\u30b5\u30fc\u30d0\u306e\u30a2\u30c9\u30ec\u30b9\u304c192.168.1.100\u306e\u5834\u5408<\/p>\n<table border=\"0\" bgcolor=\"#ffffcc\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"># \/usr\/bin\/cfgmaker &#8211; -ifref=descr &#8211; -ifdesc=descr public@192.168.1.100 &gt; \/etc\/mrtg\/mrtg.cfg<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u2193<br \/>\n\u3010mrtg.cfg\u306e\u7de8\u96c6\u3011<\/p>\n<table border=\"0\" bgcolor=\"#ffffcc\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"># vi \/etc\/mrtg\/mrtg.cfg<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"0\" bgcolor=\"#ffffff\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\">### Global Config Options# for UNIX<br \/>\n# WorkDir: \/home\/http\/mrtg<br \/>\nWorkDir: \/var\/www\/mrtg\u3000\u3000<span style=\"color: #0000ff;\">\u2190\u8ffd\u52a0<\/span><\/span><\/span>&nbsp;<\/p>\n<p># or for NT<br \/>\n# WorkDir: c:\\mrtgdata### Global Defaults<\/p>\n<p># to get bits instead of bytes and graphs growing to the right<br \/>\nOptions[_]: growright, noinfo<br \/>\n<span style=\"color: #0000ff;\">\u30b3\u30e1\u30f3\u30c8(#)\u3092\u524a\u9664\u3002growright\u306f\u30b0\u30e9\u30d5\u306e\u63a8\u79fb\u3092\u5de6\u904e\u53bb\u30fb\u53f3\u672a\u6765\u306b\u3059\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u9006\u3002<br \/>\nnoinfo\u306f\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3044\u3089\u3093\u60c5\u5831\u3092\u8868\u793a\u3055\u305b\u306a\u3044\u305f\u3081\u3002<\/span><\/p>\n<p><span style=\"color: #ff6600;\">EnableIPv6: no<br \/>\nLanguage:eucjp<\/span> <span style=\"color: #0000ff;\">\u2190\u65e5\u672c\u8a9e\u5bfe\u5fdc\u306e\u305f\u3081\u306b\u8ffd\u52a0<\/span><\/p>\n<p><span style=\"color: #0000ff;\">\u3072\u3068\u307e\u305a\u3053\u308c\u3060\u3051\u3067\u901a\u4fe1\u91cf\u306f\u51fa\u305b\u308b\u304c\u3001CPU\u4f7f\u7528\u7387\u30fb\u7a7a\u304d\u30e1\u30e2\u30ea\u91cf\u30fbHDD\u4f7f\u7528\u7387\u3082\u8868\u793a\u3055\u305b\u3066\u307f\u308b\u3002<\/span><\/p>\n<p><span style=\"color: #ff6600;\">### CPU Load Average ###<br \/>\nTarget[cpu]: .1.3.6.1.4.1.2021.10.1.5.1&amp;.1.3.6.1.4.1.2021.10.1.5.2:public@192.168.1.100<br \/>\nMaxBytes[cpu]: 100<br \/>\nUnscaled[cpu]: dwmy<br \/>\nOptions[cpu]: gauge, absolute, growright, noinfo, nopercent<br \/>\nYLegend[cpu]: CPU Load(%)<br \/>\nShortLegend[cpu]: (%)<br \/>\nLegendI[cpu]: 1\u5206\u9593\u5e73\u5747<br \/>\nLegendO[cpu]: 5\u5206\u9593\u5e73\u5747<br \/>\nLegend1[cpu]: 1\u5206\u9593\u5e73\u5747(%)<br \/>\nLegend2[cpu]: 5\u5206\u9593\u5e73\u5747(%)<br \/>\nTitle[cpu]: \uff23\uff30\uff35\u4f7f\u7528\u7387<br \/>\nPageTop[cpu]: &lt;H1&gt;\uff23\uff30\uff35\u4f7f\u7528\u7387&lt;\/H1&gt;<\/span><\/p>\n<p><span style=\"color: #ff6600;\">### Memory Free ####<br \/>\nTarget[mem]: .1.3.6.1.4.1.2021.4.6.0&amp;.1.3.6.1.4.1.2021.4.4.0:public@192.168.1.100<br \/>\nMaxBytes1[mem]: 1024556\u3000<span style=\"color: #0000ff;\"> \u2190\u6700\u5927\u5bb9\u91cf\u3092\u3042\u3089\u304b\u3058\u3081\u78ba\u8a8d\u3057\u3066\u304a\u304f<\/span><br \/>\nMaxBytes2[mem]: 2031608\u3000\u3000<span style=\"color: #0000ff;\">\u2190\u78ba\u8a8d\u65b9\u6cd5\u306f\u3010\u30e1\u30e2\u30ea\u91cf\u306e\u78ba\u8a8d\u3011\u3067<\/span><br \/>\nUnscaled[mem]: dwmy<br \/>\nOptions[mem]: gauge, absolute, growright, noinfo<br \/>\nYLegend[mem]: Mem Free(Bytes)<br \/>\nShortLegend[mem]: Bytes<br \/>\nkilo[mem]: 1024<br \/>\nkMG[mem]: k,M,G,T,P<br \/>\nLegendI[mem]: Real<br \/>\nLegendO[mem]: Swap<br \/>\nLegend1[mem]: \u7a7a\u304d\u7269\u7406\u30e1\u30e2\u30ea[MBytes]<br \/>\nLegend2[mem]: \u7a7a\u304d\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea[MBytes]<br \/>\nTitle[mem]: \u7a7a\u304d\u30e1\u30e2\u30ea\u91cf<br \/>\nPageTop[mem]: &lt;H1&gt;\u7a7a\u304d\u30e1\u30e2\u30ea\u91cf&lt;\/H1&gt;<\/span><\/p>\n<p>### Disk Used ####<br \/>\nTarget[disk]: .1.3.6.1.4.1.2021.9.1.9.1&amp;.1.3.6.1.4.1.2021.9.1.9.1:public@192.168.1.100<br \/>\nMaxBytes[disk]: 100<br \/>\nUnscaled[disk]: dwmy<br \/>\nOptions[disk]: gauge, absolute, growright, nopercent, noinfo<br \/>\nYLegend[disk]: Disk Used(%)<br \/>\nShortLegend[disk]: (%)<br \/>\nLegendI[disk]: \/ Disk used<br \/>\nLegendO[disk]: \/ Disk Used<br \/>\nLegend1[disk]: \/ Disk used<br \/>\nLegend2[disk]: \/ Disk used<br \/>\nTitle[disk]: \u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u7387<br \/>\nPageTop[disk]: &lt;H1&gt;\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u7387&lt;\/H1&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[cpu]\u3084[mem]\u306f\u9805\u76ee\u5225\u306b\u5206\u3051\u308b\u3002\u304b\u3076\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>\u3010\u30e1\u30e2\u30ea\u91cf\u306e\u78ba\u8a8d\u3011<\/p>\n<table border=\"0\" bgcolor=\"#ffffcc\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"># free<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #ff6600;\">total\u3000used\u3000free\u3000shared\u3000buffers\u3000cached<br \/>\nMem:\u30001024556\u3000285572\u3000738984\u30000\u3000544\u300032564<br \/>\n-\/+ buffers\/cache: 252464\u3000772092<br \/>\nSwap:\u30002031608\u30001756\u30002029852<\/span><br \/>\nMem:\u3068Swap:\u306etotal\u3092\u30e1\u30e2\u3063\u3066\u304a\u304f<\/p>\n<p>\u2193<br \/>\n\u3010\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3011<\/p>\n<table border=\"0\" bgcolor=\"#ffffcc\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff6600;\"># env LANG=C \/usr\/bin\/mrtg \/etc\/mrtg\/mrtg.cfg<br \/>\n# env LANG=C \/usr\/bin\/mrtg \/etc\/mrtg\/mrtg.cfg<br \/>\n# env LANG=C \/usr\/bin\/mrtg \/etc\/mrtg\/mrtg.cfg<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6700\u521d\u306f\u6bd4\u8f03\u7528\u306e\u30c7\u30fc\u30bf\u304c\u307e\u3060\u306a\u3044\u305f\u3081\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u304c\u3001\uff13\u56de\u5b9f\u884c\u3059\u308b\u3068\u51fa\u306a\u304f\u306a\u308b\u3002<br \/>\n\u2193<br \/>\n\u3010\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30da\u30fc\u30b8\u306e\u4f5c\u6210\u3011<br \/>\n\u306a\u3093\u304b\u6587\u5b57\u5316\u3051\u3059\u308b\u3093\u3067\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u5148\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u53c2\u7167<br \/>\n<a href=\"http:\/\/www.kitakore.asia\/index.txt\" target=\"new\">http:\/\/www.kitakore.asia\/index.txt<\/a><\/p>\n<p>\u3046\u3061\u306e\u5834\u5408\u306f<br \/>\nhttp:\/\/kitakore.asia\/mrtg\/<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\/etc\/cron.d\u306bmrtg\u304c\u4f5c\u6210\u3055\u308c\u3066\u308b\u306e\u3067\u3042\u3068\u306f\u653e\u7f6e\u30d7\u30ec\u30a4\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010MRTG\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3011 # yum install mr&#8230; <a class=\"read-more-button\" href=\"https:\/\/blog.kitakore.asia\/?p=169\">Read more &gt;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10],"tags":[11,8],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-10","tag-linux","tag-8"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5gvuF-2J","_links":{"self":[{"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":14,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":1057,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions\/1057"}],"wp:attachment":[{"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kitakore.asia\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}