{"id":14878,"date":"2022-04-24T08:59:24","date_gmt":"2022-04-23T23:59:24","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=14878"},"modified":"2022-04-24T08:59:24","modified_gmt":"2022-04-23T23:59:24","slug":"logwatch-7-6-%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e6%9d%a5%e3%81%aa%e3%81%84%e8%a7%a3%e6%b1%ba","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=14878","title":{"rendered":"LogWatch 7.6 \u30e1\u30fc\u30eb\u304c\u6765\u306a\u3044(\u89e3\u6c7a)"},"content":{"rendered":"\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=14862\" data-type=\"post\" data-id=\"14862\">LogWatch&#12398;7.6&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12383;<\/a>&#12398;&#12391;&#12377;&#12364;&#65292;cron.daily&#12391;&#39131;&#12400;&#12375;&#12390;&#12356;&#12427;logwatch&#12363;&#12425;&#12513;&#12540;&#12523;&#12364;&#26469;&#12414;&#12379;&#12435;&#65294;<\/p>\n\n\n\n<p>&#12385;&#12419;&#12435;&#12392;&#65292;&#12497;&#12483;&#12465;&#12540;&#12472;&#20869;&#12395;&#12354;&#12427; &ldquo;README&rdquo; &#12398;&#36890;&#12426;&#12395;&#12375;&#12383;&#12398;&#12391;&#12377;&#12364;&#65292;&#32080;&#35542;&#30340;&#12395;&#12399;&#12381;&#12428;&#12364;&#38291;&#36949;&#12356;&#12391;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>&ldquo;README&rdquo; &#12395;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ln -s \/usr\/share\/logwatch\/scripts\/logwatch.pl \/etc\/cron.daily\/0logwatch<\/pre>\n\n\n\n<p>&#12392;&#12377;&#12427;&#12424;&#12358;&#12395;&#26360;&#12356;&#12390;&#12354;&#12426;&#12381;&#12398;&#36890;&#12426;&#12395;&#12375;&#12390;&#12356;&#12414;&#12375;&#12383;&#12364;&#65292;&#12371;&#12428;&#12384;&#12392;<code>\/etc\/logwatch\/conf\/logwatch.conf<\/code>&#12399;&#31354;&#12394;&#12398;&#12391;&#65292;<code>\/usr\/share\/logwatch\/default.conf <\/code>&#12398;&#12414;&#12414;&#65292;logwatch.pl&#12364;&#23455;&#34892;&#12373;&#12428;&#12414;&#12377;&#65294;&#12381;&#12428;&#12391;&#12399;Output&#12399;stdout&#12395;&#12394;&#12387;&#12390;&#12414;&#12377;&#12363;&#12425;&#65292;&#12356;&#12367;&#12425;&#24453;&#12387;&#12390;&#12418;&#12513;&#12540;&#12523;&#12399;&#26469;&#12414;&#12379;&#12435;&#65294;<\/p>\n\n\n\n<p>LogWatch 7.4.x&#12391;&#12385;&#12419;&#12435;&#12392;&#12513;&#12540;&#12523;&#12364;&#26469;&#12390;&#12356;&#12383;&#26087;&#12471;&#12473;&#12486;&#12512;&#12398;&#35373;&#23450;&#12434;&#35519;&#12409;&#12383;&#12392;&#12371;&#12429;&#65292;<code>\/etc\/cron.daily\/0logwatch<\/code>&#12399;symlink&#12391;&#12399;&#12394;&#12367;&#12390;&#65292;<code>\"--output=mail\"<\/code>&#12392;&#12356;&#12358;&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20184;&#12369;&#12390;logwatch.pl&#12434;&#23455;&#34892;&#12377;&#12427;script&#12395;&#12394;&#12387;&#12390;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12371;&#12398;&#12473;&#12463;&#12522;&#12503;&#12488;&#12399;&#37197;&#24067;&#12497;&#12483;&#12465;&#12540;&#12472;&#12398;scheduler&#20869;&#12398;logwatch.cron&#12391;&#12377;&#65294;&#29305;&#12395; &ldquo;README&rdquo; &#20869;&#12391;&#12399;&#20309;&#12418;&#35302;&#12428;&#12390;&#12394;&#12356;&#12391;&#12377;&#128531;<\/p>\n\n\n\n<p>&#12418;&#12385;&#12429;&#12435;&#65292;<code>\/etc\/logwatch\/conf\/logwatch.conf<\/code>&#12395;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">output=mail<\/pre>\n\n\n\n<p>&#12392;&#26360;&#12367;&#26041;&#27861;&#12418;&#12354;&#12426;&#12414;&#12377;&#12364;&#65292;&#12371;&#12428;&#12384;&#12392;&#12486;&#12473;&#12488;&#12394;&#12393;&#12391;&#25163;&#21205;&#12391;logwatch(.pl)&#12434;&#21205;&#12363;&#12377;&#24230;&#12395;&#12513;&#12540;&#12523;&#12364;&#36865;&#12425;&#12428;&#12390;&#65292;&#12420;&#12420;&#12473;&#12510;&#12540;&#12488;&#12373;&#12395;&#27424;&#12369;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12392;&#12399;&#12356;&#12360;&#65292;LogWatch&#12363;&#12425;&#12385;&#12419;&#12435;&#12392;&#12513;&#12540;&#12523;&#12364;&#26469;&#12427;&#12424;&#12358;&#12395;&#12394;&#12387;&#12383;&#12425;&#25163;&#21205;&#12391;logwatch&#12434;&#36215;&#21205;&#12377;&#12427;&#24517;&#35201;&#24615;&#12418;&#20302;&#12356;&#12398;&#12391;&#65292;&#19978;&#35352;&#12398;&#35373;&#23450;&#12434;&#12375;&#12383;&#19978;&#12391;&#65292;&#25163;&#12391;&#36215;&#21205;&#12377;&#12427;&#26178;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">--output=stdout<\/pre>\n\n\n\n<p>&#12392;&#12356;&#12358;&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20184;&#12369;&#12390;logwatch&#12434;&#21205;&#12363;&#12379;&#12400;&#33391;&#12356;&#12384;&#12369;&#12363;&#12418;&#12375;&#12428;&#12414;&#12379;&#12435;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LogWatch\u306e7.6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u3059\u304c\uff0ccron.daily\u3067\u98db\u3070\u3057\u3066\u3044\u308blogwatch\u304b\u3089\u30e1\u30fc\u30eb\u304c\u6765\u307e\u305b\u3093\uff0e \u3061\u3083\u3093\u3068\uff0c\u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306b\u3042\u308b &#8220;README&#8221; \u306e\u901a\u308a\u306b\u3057\u305f\u306e\u3067\u3059\u304c\uff0c\u7d50\u8ad6\u7684\u306b\u306f\u305d\u308c\u304c\u9593\u9055\u3044\u3067\u3057\u305f\uff0e &#8220;README&#8221; \u306b\u306f\uff0c ln -s \/usr\/share\/logwatch\/scripts\/logwatch.pl \/etc\/cron.daily\/0logwatch \u3068\u3059\u308b\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u305d\u306e\u901a\u308a\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u304c\uff0c\u3053\u308c\u3060\u3068\/etc\/logwatch\/conf\/logwatch.conf\u306f\u7a7a\u306a\u306e\u3067\uff0c\/usr\/share\/logwatch\/default.conf \u306e\u307e\u307e\uff0clogwatch.pl\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\uff0e\u305d\u308c\u3067\u306fOutput\u306fstdout\u306b\u306a\u3063\u3066\u307e\u3059\u304b\u3089\uff0c\u3044\u304f\u3089\u5f85\u3063\u3066\u3082\u30e1\u30fc\u30eb\u306f\u6765\u307e\u305b\u3093\uff0e LogWatch 7.4.x\u3067\u3061\u3083\u3093\u3068\u30e1\u30fc\u30eb\u304c\u6765\u3066\u3044\u305f\u65e7\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u5b9a\u3092\u8abf\u3079\u305f\u3068\u3053\u308d\uff0c\/etc\/cron.daily\/0logwatch\u306fsymlink\u3067\u306f\u306a\u304f\u3066\uff0c&#8221;&#8211;output=mail&#8221;\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066logwatch.pl\u3092\u5b9f\u884c\u3059\u308bscript\u306b\u306a\u3063\u3066\u307e\u3059\uff0e \u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u914d\u5e03\u30d1\u30c3\u30b1\u30fc\u30b8\u306escheduler\u5185\u306elogwatch.cron\u3067\u3059\uff0e\u7279\u306b &#8220;README&#8221; \u5185\u3067\u306f\u4f55\u3082\u89e6\u308c\u3066\u306a\u3044\u3067\u3059\ud83d\ude13 \u3082\u3061\u308d\u3093\uff0c\/etc\/logwatch\/conf\/logwatch.conf\u306b\uff0c output=mail \u3068\u66f8\u304f\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\uff0c\u3053\u308c\u3060\u3068\u30c6\u30b9\u30c8\u306a\u3069\u3067\u624b\u52d5\u3067logwatch(.pl)\u3092\u52d5\u304b\u3059\u5ea6\u306b\u30e1\u30fc\u30eb\u304c\u9001\u3089\u308c\u3066\uff0c\u3084\u3084\u30b9\u30de\u30fc\u30c8\u3055\u306b\u6b20\u3051\u307e\u3059\uff0e \u3068\u306f\u3044\u3048\uff0cLogWatch\u304b\u3089\u3061\u3083\u3093\u3068\u30e1\u30fc\u30eb\u304c\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u624b\u52d5\u3067logwatch\u3092\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u6027\u3082\u4f4e\u3044\u306e\u3067\uff0c\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u4e0a\u3067\uff0c\u624b\u3067\u8d77\u52d5\u3059\u308b\u6642\u306f\uff0c &#8211;output=stdout \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066logwatch\u3092\u52d5\u304b\u305b\u3070\u826f\u3044\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"","footnotes":""},"categories":[8,27],"tags":[],"class_list":["post-14878","post","type-post","status-publish","format-standard","hentry","category-linux","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-05-20 18:22:49","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/14878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14878"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/14878\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}