{"id":2283,"date":"2016-05-20T12:15:39","date_gmt":"2016-05-20T03:15:39","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/?page_id=2283"},"modified":"2016-05-20T12:15:39","modified_gmt":"2016-05-20T03:15:39","slug":"raidmdstat%e3%82%92logwatch%e3%81%a7","status":"publish","type":"page","link":"https:\/\/je1sgh.mydns.jp\/?page_id=2283","title":{"rendered":"RAID>mdstat\u3092LogWatch\u3067"},"content":{"rendered":"<p><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1969\">RAID<\/a><\/p>\n<p>Software RAID\u306b\u9650\u3089\u305a\uff0cRAID\u3092\u52d5\u304b\u3057\u3066\u3044\u3066\u4e00\u756a\u304b\u3093\u3058\u3093\u306a\u306e\u306f\uff0c\u5197\u9577disk\u304c\u6545\u969c\u3057\u3066\uff0c\u5197\u9577\u6027\u304c\u306a\u304f\u306a\u3063\u305f\u3053\u3068\u3092\u9045\u6ede\u306a\u304f\u77e5\u308b\uff0c\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\uff0eSoftware RAID\u3067\u306f\uff0c\uff11\u65e5\uff11\u56de<\/p>\n<pre>cat \/proc\/mdstat<\/pre>\n<p>\u3092\u3059\u308c\u3070\u666e\u901a\u306f\u5341\u5206\u3067\u3057\u3087\u3046\uff0e<\/p>\n<p>LogWatch\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u4eba\u306f\uff0c\u305d\u306e\u30ec\u30dd\u30fc\u30c8\u306e\u4e2d\u306b\uff0c\/proc\/mdstat\u306e\u5185\u5bb9\u3092\u305d\u306e\u307e\u307e\u53d6\u308a\u8fbc\u3093\u3067\u304f\u308c\u308c\u3070\u697d\u3060\u3068\u601d\u3046\u3067\u3057\u3087\u3046\uff0e<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3084\u3063\u3066\u307f\u307e\u3057\u305f\uff0e\u7d50\u679c\u7684\u306b\u306f\u3059\u3054\u304f\u7c21\u5358\u306a\u3053\u3068\u306a\u3093\u3067\u3059\u304c\uff0c\u30cd\u30c3\u30c8\u691c\u7d22\u3067\u306f\uff0c\u306a\u304b\u306a\u304b\u30ba\u30d0\u30ea\u3068\u3044\u3046\u3082\u306e\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u306e\u3067\uff0c\u305f\u307e\u306b\u306f\u793e\u4f1a\u5949\u4ed5\u3068\u8a00\u3046\u3053\u3068\u3067\uff0c\u904e\u4e0d\u8db3\u306a\u304f\u516c\u958b\u3057\u307e\u3059\uff0e<\/p>\n<p>\u307e\u305a\uff0c<a href=\"https:\/\/sourceforge.net\/projects\/logwatch\/?source=navbar\">LogWatch<\/a>\u304c\u52d5\u3044\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\uff0e<\/p>\n<p style=\"padding-left: 30px;\">LogWatch\u306f\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u7c21\u5358\u306a\u306e\u3067\uff0c\u304a\u52e7\u3081\u3067\u3059\uff0e<\/p>\n<p>\u3067\uff0cLogWatch\u304c\u52d5\u3044\u3066\u3044\u308c\u3070\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\uff0eLogWatch\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u985e\u3092\u30b6\u30c3\u3068\u8aad\u3081\u3070\u308f\u304b\u308a\u307e\u3059\u304c\uff0c<strong>\/usr\/share\/logwatch<\/strong>\u4ee5\u4e0b\u306b\u65b0\u898f\u306b\u66f8\u3044\u305f\u308a\uff0c\u66f8\u304d\u76f4\u3059\u306e\u306f\uff0c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000002ee0000000000000000_2283\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000002ee0000000000000000_2283-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000002ee0000000000000000_2283-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">\u305d\u3046\u3044\u3046\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f8b\u3082\u3061\u3089\u307b\u3089\u3042\u308a\u307e\u3059\u306d\uff0e<\/span>\uff0e<strong>\/etc\/logwatch<\/strong>\u306b\u66f8\u304d\u307e\u3059\uff0e<\/p>\n<p>\u8aad\u307f\u8fbc\u3080\u30ed\u30b0\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\uff0c <strong>\/etc\/logwatch\/conf\/services\/mdstat.conf <\/strong>\u306f\uff0c<\/p>\n<pre>Title = \"mdstat\"\nLogFile = NONE<\/pre>\n<p>\u3068\u306a\u308a\u307e\u3059\uff0e\u305d\u3057\u3066\uff0c <strong>\/etc\/logwatch\/scripts\/services\/mdstat <\/strong>\u306f\uff0c<\/p>\n<pre>#!\/bin\/bash\ncat \/proc\/mdstat<\/pre>\n<p>\u3068\u306a\u308a\u307e\u3059\uff0e\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\uff0c\u5b9f\u884c\u53ef\u80fd\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e<\/p>\n<p>\u3053\u308c\u3067\uff0c\u3042\u3068\u306f\uff0c\u6b21\u306bLogWatch\u306e\u30ec\u30dd\u30fc\u30c8\u304c\u6765\u308b\u306e\u3092\u5f85\u3064\u3060\u3051\u3067\u3059\uff0e<\/p>\n<p>\uff082016\u5e745\u670820\u65e5\uff0c<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=5916\">BLOG<\/a>\u304b\u3089\u518d\u9332\u3057\u3066update\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RAID Software RAID\u306b\u9650\u3089\u305a\uff0cRAID\u3092\u52d5\u304b\u3057\u3066\u3044\u3066\u4e00\u756a\u304b\u3093\u3058\u3093\u306a\u306e\u306f\uff0c\u5197\u9577disk\u304c\u6545\u969c\u3057\u3066\uff0c\u5197\u9577\u6027\u304c\u306a\u304f\u306a\u3063\u305f\u3053\u3068\u3092\u9045\u6ede\u306a\u304f\u77e5\u308b\uff0c\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\uff0eSoftware RAID\u3067\u306f\uff0c\uff11\u65e5\uff11\u56de cat \/proc\/mdstat \u3092\u3059\u308c\u3070\u666e\u901a\u306f\u5341\u5206\u3067\u3057\u3087\u3046\uff0e LogWatch\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u4eba\u306f\uff0c\u305d\u306e\u30ec\u30dd\u30fc\u30c8\u306e\u4e2d\u306b\uff0c\/proc\/mdstat\u306e\u5185\u5bb9\u3092\u305d\u306e\u307e\u307e\u53d6\u308a\u8fbc\u3093\u3067\u304f\u308c\u308c\u3070\u697d\u3060\u3068\u601d\u3046\u3067\u3057\u3087\u3046\uff0e \u3068\u3044\u3046\u3053\u3068\u3067\u3084\u3063\u3066\u307f\u307e\u3057\u305f\uff0e\u7d50\u679c\u7684\u306b\u306f\u3059\u3054\u304f\u7c21\u5358\u306a\u3053\u3068\u306a\u3093\u3067\u3059\u304c\uff0c\u30cd\u30c3\u30c8\u691c\u7d22\u3067\u306f\uff0c\u306a\u304b\u306a\u304b\u30ba\u30d0\u30ea\u3068\u3044\u3046\u3082\u306e\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u306e\u3067\uff0c\u305f\u307e\u306b\u306f\u793e\u4f1a\u5949\u4ed5\u3068\u8a00\u3046\u3053\u3068\u3067\uff0c\u904e\u4e0d\u8db3\u306a\u304f\u516c\u958b\u3057\u307e\u3059\uff0e \u307e\u305a\uff0cLogWatch\u304c\u52d5\u3044\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\uff0e LogWatch\u306f\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u7c21\u5358\u306a\u306e\u3067\uff0c\u304a\u52e7\u3081\u3067\u3059\uff0e \u3067\uff0cLogWatch\u304c\u52d5\u3044\u3066\u3044\u308c\u3070\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\uff0eLogWatch\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u985e\u3092\u30b6\u30c3\u3068\u8aad\u3081\u3070\u308f\u304b\u308a\u307e\u3059\u304c\uff0c\/usr\/share\/logwatch\u4ee5\u4e0b\u306b\u65b0\u898f\u306b\u66f8\u3044\u305f\u308a\uff0c\u66f8\u304d\u76f4\u3059\u306e\u306f\uff0c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\uff0e\/etc\/logwatch\u306b\u66f8\u304d\u307e\u3059\uff0e \u8aad\u307f\u8fbc\u3080\u30ed\u30b0\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\uff0c \/etc\/logwatch\/conf\/services\/mdstat.conf \u306f\uff0c Title = &#8220;mdstat&#8221; LogFile = NONE \u3068\u306a\u308a\u307e\u3059\uff0e\u305d\u3057\u3066\uff0c \/etc\/logwatch\/scripts\/services\/mdstat \u306f\uff0c #!\/bin\/bash cat \/proc\/mdstat \u3068\u306a\u308a\u307e\u3059\uff0e\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\uff0c\u5b9f\u884c\u53ef\u80fd\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e \u3053\u308c\u3067\uff0c\u3042\u3068\u306f\uff0c\u6b21\u306bLogWatch\u306e\u30ec\u30dd\u30fc\u30c8\u304c\u6765\u308b\u306e\u3092\u5f85\u3064\u3060\u3051\u3067\u3059\uff0e \uff082016\u5e745\u670820\u65e5\uff0cBLOG\u304b\u3089\u518d\u9332\u3057\u3066update\uff09<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1969,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2283","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2283"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2283\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/1969"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}